Re: [PHP] turn register_globals on

2002-09-08 Thread Steve Yates
> Anup wrote: > > Hello I am working on a PHP server which has register_globals off. In my > > script is there anyway to turn it on, just for my script? One trick for using old PHP code is to use extract($HTTP_POST_VARS); ...at the beginning of your script. That will autocreate all the POST va

Re: [PHP] turn register_globals on

2002-09-08 Thread Tom Rogers
Hi, Monday, September 9, 2002, 3:42:44 AM, you wrote: A> Hello I am working on a PHP server which has register_globals off. In my A> script is there anyway to turn it on, just for my script? By the time your script is read register_globals has already done it's checking so it is too late and won

Re: [PHP] turn register_globals on

2002-09-08 Thread Brad Bonkoski
I think it is a global configuration setting, so it would not be possible to turn it off for an individual script. Just use the $_SERVER['variable_name'] -Brad Anup wrote: > > Hello I am working on a PHP server which has register_globals off. In my > script is there anyway to turn it on, just