|
Posted by Justin Koivisto on 08/26/05 00:17
ZeldorBlat wrote:
> $_POST contains all HTTP POST variables. $_REQUEST contains all HTTP
> GET, POST, and COOKIE variables.
>
> The big difference is that with $_POST, you know all the variables in
> there came, in fact, from POST. With $_REQUEST, you don't really know
> whether they were submitted by POST, GET, or through a cookie.
>
Also be aware that if both POST and GET have the same variable, only one
is actually kept according the the server setup (variables_order in
php.ini).
--
Justin Koivisto, ZCE - justin@koivi.com
http://koivi.com
Navigation:
[Reply to this message]
|