ID: 24510 Updated by: [EMAIL PROTECTED] Reported By: chuayw2000 at hotmail dot com -Status: Open +Status: Bogus Bug Type: Variables related Operating System: Windows XP (Professional) SP1 PHP Version: 5.0.0b1 (beta1) New Comment:
It is the same issue as in bug #24401 Previous Comments: ------------------------------------------------------------------------ [2003-07-06 12:11:52] chuayw2000 at hotmail dot com No. I cannot even access variables like $PHP_SELF and $_GET. And I am using IIS 5.1. ------------------------------------------------------------------------ [2003-07-06 05:33:06] postings-php-bug at hans-spath dot de Could this be a duplicate of bug #24401? ------------------------------------------------------------------------ [2003-07-06 01:43:43] chuayw2000 at hotmail dot com Description: ------------ I am unable to access variables like $REMOTE_ADDR even though register_globals and track_vars are set to on. I can't even access the $_POST or $_GET variables. The page below is requested with a query of trial=trial (page.php?trial=trial) Reproduce code: --------------- <?php echo $REMOTE_ADDR."<br>"; echo $_GET["trial"]; ?> Expected result: ---------------- An ip address (in my case 127.0.0.1 cos I am running using localhost) and a newline with the text "trial" should have been seen. Actual result: -------------- The page returned with nothing but only a "<br>" html tag. However, the variables are present in the phpinfo() function. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=24510&edit=1
