For Programmers: Free Programming Magazines  


Home > Archive > PHP Installation > September 2006 > Re: [PHP-INSTALL] register_globals sometimes "On", sometimes "Off"









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: [PHP-INSTALL] register_globals sometimes "On", sometimes "Off"
Peter Hodge

2006-09-04, 9:57 pm

Hello,

>
>
> I'm having a problem that I cannot find a solution to.
>
> My global php.ini contains "register_globals = On".
>
> My virtual host apache configuration doesn't have any "register_globals"
> setting.
>
> When I execute "phpinfo()", it says under "PHP Core" that "register_globals"
> Master Value is "On". The problem is that sometimes the Local Value for
> "register_globals" is "On", and sometimes it's "Off" -- seems to be random
> as to whether or not it's going to be On or Off. I do not know what would
> cause the value to change like this.



Do you mean that in the same phpinfo() script, the value can alter just by
pressing 'refresh' in your browser?

Does it dpeend on what folder the script resides in?

Does it depend on whether you are using a web broswer or command-line php?

If you grep your web tree for 'register_globals', does it find anything?

- Peter



________________________________________
____________
Do you Yahoo!?
The new TV home page features highlights, popular picks, and the best of homemade TV
http://au.tv.yahoo.com/tv/
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com