Re: Register_globals not working
| From: | Frederic Gobin | Date: | Wed, 09 Apr 2003 13:54:50 +0000 |
| Subject: | Re: Register_globals not working | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-143076@lists.php.net to get a copy of this message | ||
Local value is of
Master value is on
(What is the difference between both ?)
Freddy
Am Mittwoch, 09.04.03 um 15:47 Uhr schrieb Leif K-Brooks:
When you run phpinfo(), does it say register_globals is on or off? Frederic Gobin wrote: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:-- 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.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