Hello Leif,

Wednesday, May 19, 2004, 2:07:36 PM, you wrote:
Leif> Now, there is a way within your code to enable REGISTER_GLOBALS
Leif> from within your code to override the php.ini setting, but I
Leif> don't recall what it was. I just remember seeing it somewhere
Leif> and mostly everyone agreed it was a bad thing. <grin>

Funny how that works.. I just happened to run across it again. Putting
the below at the top of your page will more or less do what setting
REGISTER_GLOBALS to on in the php.ini would do.

  import_request_variables('GPC');

  
However, it is still frowned upon.



-- 

Cheers,
Leif Gregory 

TB Lists Moderator (and fellow registered end-user)
PCWize Editor  /  ICQ 216395  /  PGP Key ID 0x7CD4926F
Web Site <http://www.PCWize.com>

-------------------------------------------------------
To unsubscribe please go to http://www.sambar.ch/list/



Reply via email to