Re: $_POST And $_REQUEST

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

 



>$_REQUEST is an associative array consisting of the contents of $_GET,
>$_POST, $_COOKIE, and $_FILES

Also, they are not function but arrays, as Hatem said. 
You can usa $_REQUEST as a "catch-all" that provides you with both what
was passed to your page through the URL query ($_GET) and what was
posted to the webserver through HTTP ($_POST). IMHO, it's always better
to use the more specific arrays ($_GET or $_POST), because that makes
your pages more accurate and, therefore, less open to possible attacks.


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


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux