Reply to Re: _POST superglobal empty

Your name:

Reply:


Posted by Kim Andr� Aker� on 08/30/06 14:12

lorenzdominic_@hotmail.com wrote:

> Hi
> Recently I have been developing a form that uses the _POST variable.
>
> Today the _POST variable was empty everytime I submitted my form
> however I changed the post method to be GET and the receiving _GET
> variable contains the form variables. So does the _REQUEST but for
> some reason the _POST variable has ceased to hold the variables.
>
> Any reason why this would be?

$_POST only holds values when the form request method is set to "post",
while $_GET contains the values of a form when the request method is
set to "get".

$_REQUEST contains all values from $_POST, $_GET and $_COOKIE (which
order is used is defined by the "variables_order" setting in php.ini).

--
Kim André Akerø
- kimandre@NOSPAMbetadome.com
(remove NOSPAM to contact me directly)

[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

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