PHP 4.0 Bug #3848: Wrong Output when Using --enable-trans-sid and not using cookies
| From: | t dot stinner at billiton dot de | Date: | Thu, 16 Mar 2000 18:09:49 +0000 |
| Subject: | PHP 4.0 Bug #3848: Wrong Output when Using --enable-trans-sid and not using cookies | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-16901@lists.php.net to get a copy of this message | ||
From: t.stinner@billiton.de
Operating system: SuSE 6.3 with Apache 1.3.11
PHP version: 4.0 Latest CVS (16/03/2000)
PHP Bug Type: Session related
Bug description: Wrong Output when Using --enable-trans-sid and not using cookies
When PHP tries to insert the Session-ID into an _empty_ form action or empty href the output totally
get's messed up.
Try the following:
<?php
session_start();
echo "<form action=\"\">";
?>
The output looks like this:
<form action="">
?PHPSESSID=xxxxxxxxxxxxxxxxxxxxxx
You can see this at http://preview.yaps.net/test_saar.php
If you output more than just a single form action, the output partially get's repeated.