Re: variables

From: Date: Sat, 03 Aug 2002 04:19:15 +0000
Subject: Re: variables
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-110918@lists.php.net to get a copy of this message
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. -- Jason Wong -> Gremlins Associates -> www.gremlins.com.hk Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development * /* Mark's Dental-Chair Discovery: Dentists are incapable of asking questions that require a simple yes or no answer. */

« previous php.general (#110918) next »