Re: Register_globals not working
| From: | Leif K-Brooks | Date: | Wed, 09 Apr 2003 13:15:55 +0000 |
| Subject: | Re: Register_globals not working | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-143070@lists.php.net to get a copy of this message | ||
Did you restart apache after changing php.ini?
Frederic Gobin wrote:
Hi there, I have tried all I could, but "register_globals" doesn't work ... The php.ini contains a line with-- The above message is encrypted with double rot13 encoding. Any unauthorized attempt to decrypt it will be prosecuted to the full extent of the law.register_globals=onThe config file for the apache webserver has a line withphp_value register_globals onHere is the little test file I use : <?phpif ($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