Re: Wierd PHP Problem
| From: | Robby Russell | Date: | Wed, 23 Feb 2005 22:49:57 +0000 |
| Subject: | Re: Wierd PHP Problem | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-209303@lists.php.net to get a copy of this message | ||
On Wed, 2005-02-23 at 16:39 -0500, Will Beers wrote:
> Matthew Fonda wrote:
> > $HTTP_*_VARS is deprecated in PHP5, so if the server is running PHP5,
> > this code won't work. Instead, you should use $_POST
>
> On this subject, is there anything 'wrong' with using $_REQUEST instead of
> specifying between $_POST and $_GET?
>
> Will Beers
It really depends on the circumstance. Typically, do not use it unless
you are totally okay with the data coming from $_GET or $_POST. For
security-minded people, it's best to not use this unless you really need
to.
-Robby
--
/***************************************
* Robby Russell | Owner.Developer.Geek
* PLANET ARGON | www.planetargon.com
* Portland, OR | robby@planetargon.com
* 503.351.4730 | blog.planetargon.com
* PHP/PostgreSQL Hosting & Development
* --- Now hosting Ruby on Rails Apps ---
****************************************/