You are here: Re: Overriding Global Variables off for one form with a lot of inputs « All PHP « IT news, forums, messages
Re: Overriding Global Variables off for one form with a lot of inputs

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация