Re: $_POST suddenly empty; $_GET and _$REQUEST fine

From: Date: Wed, 03 Dec 2008 23:20:35 +0000
Subject: Re: $_POST suddenly empty; $_GET and _$REQUEST fine
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-284067@lists.php.net to get a copy of this message
Alex Kirk wrote:
I've got an Apache 2.2.3 server running PHP 5.2.6 on top of FreeBSD 6.2. It's worked quite well for over a year now. However, as of some time last night, phpBB broke; upon investigation, I realized that the problem was that $_POST was never getting populated, even on properly formed HTML forms. Testing this to try to find the issue, I used the following script: <?php print "Testvar: " . $_POST['testvar'] . "<br/>\n"; ?> <form method="POST" action=http://www.newmars.com/test.php name=formname enctype="multipart/form-data"> <input type=text name=testvar><br/> <input type=submit value=Submit><br/> </form>
looks like you already fixed it.. works fine for me on your server: array(1) { ["testvar"]=> string(2) "er" } NULL (then all the phpinfo()) i posted "er" on the form at bottom..

« previous php.general (#284067) next »