Re: Wierd PHP Problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxx
* 503.351.4730  | blog.planetargon.com
* PHP/PostgreSQL Hosting & Development
* --- Now hosting Ruby on Rails Apps ---
****************************************/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux