Reply to Re: newbie: what's the difference

Your name:

Reply:


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

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация