|
Posted by Flamer on 07/11/06 22:24
Chris wrote:
> 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?
>
> Thanks,
> Chris
stick this right at the top of your script:
ini_set('register_globals','off')
Flamer.
Navigation:
[Reply to this message]
|