|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2000-11-23 05:52 UTC] sniper@php.net
[2000-12-30 19:48 UTC] sniper@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Dec 12 15:00:01 2025 UTC |
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>