On Sat, 3 Aug 2002 12:19:15 +0800, Jason Wong wrote:

>On Saturday 03 August 2002 10:43, Bob Lockie wrote:
>> What is the difference from using $_GET['some_var'] from using
>> $_REQUEST['some_var']? I think the documentation says either can be used to
>> do the same thing.
>$_REQUEST holds everything from $_GET, $_POST, and $_COOKIE combined, thus you 
>cannot differentiate where the value came from.
>If you want to be sure, be specific and use one of $_GET/$_POST/$_COOKIE.

There is no reason other than knowing where it came from to choose one method over the 
For *most* applications it would seem that using REQUEST is better planning.

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

Reply via email to