Re: Globals problem - $_REQUEST good solution?

From: Date: Mon, 12 Jan 2004 21:29:25 +0000
Subject: Re: Globals problem - $_REQUEST good solution?
Groups: php.general 
Request: Send a blank email to php-general+get-174378@lists.php.net to get a copy of this message
Cool. Thanks John. -Ryan > The only simularity it has to register_globals ON is that you > don't know > what method provided the value. It could be POST, GET, or COOKIE. > > But... if you're > validating the data properly anyhow, it really > shouldn't > matter where it's coming from. I use $_REQUEST for everything, > that way I > can change the method of my forms if I need to without affecting my code > (or > the user can). > > ---John Holmes...

« previous php.general (#174378) next »