Register_globals not working

From: Date: Wed, 09 Apr 2003 13:07:00 +0000
Subject: Register_globals not working
Groups: php.general 
Request: Send a blank email to php-general+get-143069@lists.php.net to get a copy of this message
Hi there, I have tried all I could, but "register_globals" doesn't work ... The php.ini contains a line with register_globals=on The config file for the apache webserver has a line with php_value register_globals on Here is the little test file I use : <?php if ($mode == "simple") { echo "REGISTER_GLOBALS is on"; } else { phpinfo(); } ?> If I display this file with "http://localhost/test.php", it shows me the result of phpinfo where it tells me, that register_globals is on. If I display this file with "http://localhost/test.php?mode=simple", it show me the result of phpinfo() What have I missed ? Thank you for reading this ... Freddy

« previous php.general (#143069) next »