|
Posted by Peter van Schie on 07/11/06 22:30
Chris schreef:
> Yesterday while looking at various file upload code examples/tutorials, I
> came across one that had a Superglobal that apparently overrode the Global
> Variables Off parameter set in php.ini. This is for an intranet site that is
> well secured but they prefer to keep Globals off overall. I can't recall
> what the Superglobal was...I believe it was something like
> $_HTTP['GET_VARS'] or $_SERVER['GET_HTTP_VARS']. I have looked through
> several PHP manual postings online, but can't seem to find this, nor can I
> find the reference I was looking at yesterday. Anybody have any input here?
Hi Chris,
I'm not really sure what superglobal you're looking for, but if you want
to enable register_globals for this one site you could use a .htaccess
file to accomplish this. Set it like:
php_flag register_globals off
Also note that you cannot use ini_set to change register_globals.
HTH.
Peter.
--
http://www.phpforums.nl
Navigation:
[Reply to this message]
|