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

From: Date: Sun, 31 Dec 2000 00:48:21 +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-42556@lists.php.net to get a copy of this message
ID: 7929 Updated by: sniper Reported By: david@dailyrush.dk Old-Status: Feedback Status: Closed Bug Type: *Session related Assigned To: Comments: No feedback. Try PHP 4.0.4 and also check your scripts. --Jani Previous Comments: --------------------------------------------------------------------------- [2000-11-23 05:52:39] sniper@php.net 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 --------------------------------------------------------------------------- [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 (#42556) next »