$_POST empty
Posted by: leischj
Posted on: 2009-08-26 07:55:00
I have a page that posts form values to another page that worked in January, and doesn't work anymore. It hasn't been used since January, now it needs to be used again. No code had changed, and a search led me to believe that I needed to change my $HTTP_POST_VARS to $_POST. I did this, and now the $_POST array comes empty.
What's really strange to me is that if I output $_REQUEST, I get everything that I would expect, all my $_GET, $_POST, and $_COOKIE, as the documentation suggests. But then I output each of $_GET, $_POST, and $_COOKIE separately, and the $_POST is empty. The other two are correct.
For now I will use $_REQUEST since it has all my posted values. Is there a setting that I need to change to make the $_POST variable work?