ID:               24510
 Comment by:       postings-php-bug at hans-spath dot de
 Reported By:      chuayw2000 at hotmail dot com
 Status:           Open
 Bug Type:         Variables related
 Operating System: Windows XP (Professional) SP1
 PHP Version:      5.0.0b1 (beta1)
 New Comment:

Could this be a duplicate of bug #24401?


Previous Comments:
------------------------------------------------------------------------

[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

Reply via email to