PHP 4.0 Bug #7929 Updated: Too long session variables with REQUEST_URI contains last broken image path

From: Date: Thu, 23 Nov 2000 10:52:39 +0000
Subject: PHP 4.0 Bug #7929 Updated: Too long session variables with REQUEST_URI contains last broken image path
Groups: php.dev 
Request: Send a blank email to php-dev+get-38983@lists.php.net to get a copy of this message
ID: 7929 Updated by: sniper Reported By: david@dailyrush.dk Status: Feedback Bug Type: *Session related Assigned To: Comments: Your examples don't make any sense.. e.g. this won't work: <HTML><BODY><IMG SRC="$InvalidImagePath"></BODY></HTML> (You have to do <?php echo $invalidImagePath;?> ) Could you please explain WHAT you think doesn't work? --Jani Previous Comments: --------------------------------------------------------------------------- [2000-11-22 11:48:45] david@dailyrush.dk This doens't work (It'll display two different LastRecordedPage values): <?php session_start(); echo("1:" . $LastRecordedPage); session_register("LastRecordedPage"); $LastRecordedPage = $REQUEST_URI; echo("2:" . $LastRecordedPage); ?> <HTML><BODY><IMG SRC="$InvalidImagePath"></BODY></HTML> These work (they'll display the same LastPage/LastRecordedPage value): <?php session_start(); echo("1:" . $LastRecordedPage); session_register("LastRecordedPage"); $LastRecordedPage = $REQUEST_URI; echo("2:" . $LastRecordedPage); ?> <HTML><BODY><IMG SRC="$ValidImagePath"></BODY></HTML> <?php session_start(); echo("1:" . $LastPage); session_register("LastPage"); $LastPage = $REQUEST_URI; echo("2:" . $LastPage); ?> <HTML><BODY><IMG SRC="$InvalidImagePath"></BODY></HTML> --------------------------------------------------------------------------- Full Bug description available at: http://bugs.php.net/?id=7929

« previous php.dev (#38983) next »