[PHP4BETA] "trans-sid"-parser behaviour From: Bruno Baketaric (archiver <email protected>)
Date: 01/26/00

This message was sent from Geocrawler.com by "Bruno Baketaric" <bbaketaric <email protected>>
Be sure to reply to that address.

I found two little bugs in the behaviour of
the "trans-sid" engine:

1.
You can't write something like that:
<a href="blabla.phtml?foo=<?php echo $foo ?>">

this results in something like:
<a href="blabla.phtml?foo=&sid=[a session id]
[value of $foo]">

Workaround:
print the whole <A> with PHP:
<?php print ("<a href="blabla.phtml?
foo=".$foo."""); ?>

2. This one also fails, the Session id is not
appended:
<?php print ("<frame name="blabla"
src="blabla.phtml?foo=".$foo."">"); ?>

This one works if you swap the name and the src
property of the <frame> tag:
<?php print ("<frame src="blabla.phtml?
foo=".$foo."" name="blabla">"); ?>

Geocrawler.com - The Knowledge Archive

-- 
PHP 4.0 Beta Mailing List <http://www.php.net/version4/>
To unsubscribe, e-mail: php4beta-unsubscribe <email protected>
For additional commands, e-mail: php4beta-help <email protected>
To contact the list administrators, e-mail: php4beta-admin <email protected>