
October 22nd, 2003, 09:48 AM
|
 |
Addicted to Chaos..
|
|
Join Date: Jan 2003
Location: Ft. Worth, TX
Posts: 653
Time spent in forums: 1 h 47 m 52 sec
Reputation Power: 0
|
|
quote from http://us4.php.net/reserved.variables :
Quote: Request variables: $_REQUEST
Note: Introduced in 4.1.0. There is no equivalent array in earlier versions.
Note: Prior to PHP 4.3.0, $_FILES information was also included into $_REQUEST.
An associative array consisting of the contents of $_GET, $_POST, and $_COOKIE.
This is a 'superglobal', or automatic global, variable. This simply means that it is available in all scopes throughout a script. You don't need to do a global $_REQUEST; to access it within functions or methods.
If the register_globals directive is set, then these variables will also be made available in the global scope of the script; i.e., separate from the $_REQUEST array. For related information, see the security chapter titled Using Register Globals. These individual globals are not autoglobals.
|
$_REQUEST, if I'm not mistaken will look for both $_GET and $_POST, not really sure, someone please correct me if I'm wrong, I'd really like confirmation on this.. 
|