"trans-sid"-parser behaviour
| From: | Bruno Baketaric | Date: | Wed, 26 Jan 2000 18:59:38 +0000 |
| Subject: | "trans-sid"-parser behaviour | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-9430@lists.php.net to get a copy of this message | ||
This message was sent from Geocrawler.com by "Bruno Baketaric"
<bbaketaric@wob-interactive.de>
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