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)
Navigation:
[Reply to this message]
|