RE: register globals on

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

 



On 12 September 2006 08:18, Larry Garfield wrote:

[...]

> 
> In any vaguely recent version of PHP, you get five super-global array
> variables: 
> 
> $_GET - any parameters passed in the GET string.
> $_POST - any parameters passed in the body of a POST query.
> $_REQUEST - The two above merged.  I forget which takes precedence.
> $_COOKIE - Any values sent by the browser as a cookie.

Correction:

  $_GET - any parameters passed in the GET string.
  $_POST - any parameters passed in the body of a POST query.
  $_COOKIE - Any values sent by the browser as a cookie.
  $_REQUEST - The *three* above merged.

I'm not sure whether $_REQUEST is affected by the variables_order configuration setting, but this could potentially affect both presence and precedence of the GPC variables in $_REQUEST.

Cheers!

Mike

---------------------------------------------------------------------
Mike Ford,  Electronic Information Services Adviser,
Learning Support Services, Learning & Information Services,
JG125, James Graham Building, Leeds Metropolitan University,
Headingley Campus, LEEDS,  LS6 3QS,  United Kingdom
Email: m.ford@xxxxxxxxxxxxxx
Tel: +44 113 283 2600 extn 4730      Fax:  +44 113 283 3211 


To view the terms under which this email is distributed, please go to http://disclaimer.leedsmet.ac.uk/email.htm

-- 
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