Hi Ron!
On Sat, 28 Jul 2001, Ron Chmara wrote:

> On Saturday, July 28, 2001, at 12:52  PM, Zeev Suraski wrote:
> > At 06:01 28/07/2001, Phil Driscoll wrote:
> >>  I and no doubt thousands of others will turn
> >> register_globals on because it gives much more readable code, 
> >> much less
> >> typing and does not IMHO add one jot to the security of my 
> >> applications.
> > I have no doubt that thousands would turn it back on.  I can't 
> > do anything about it, and as I said numerous times in numerous 
> > metaphors, I'm quite alright with that.
> 
> I have roughly 2,000 files to fix before I can use it with my 
> biggest client.... :-)
<Directory /old/apps>
php_value auto_prepend_file globals_fix.php
</Directory>

[globals_fix.php]

extract($HTTP_GET_VARS);
extract($HTTP_POST_VARS);
extract($HTTP_COOKIE_VARS);
etc.
now they all work with register_globals off
erm? :)

-- teodor

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to