Re: Register_globals not working
| From: | Frederic Gobin | Date: | Wed, 09 Apr 2003 13:36:06 +0000 |
| Subject: | Re: Register_globals not working | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-143071@lists.php.net to get a copy of this message | ||
I did ...
(The reason for "register_globals = on" :
I want geeklog on my computer and geeklog needs this option ...)
Freddy
Am Mittwoch, 09.04.03 um 15:15 Uhr schrieb Leif K-Brooks:
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