RE: register globals on

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

 



At 12:55 PM +0100 9/12/06, Ford, Mike wrote:
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

As I remember it, there is a pecking order. The same <whatever> index in in all three GPC with different values will result in only one value provided by $_REQUEST(<whatever>). That's another reason why I avoid using $_REQUEST.

tedd
--
-------
http://sperling.com  http://ancientstones.com  http://earthstones.com

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