|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #32109 POST data is empty
Submitted: 2005-02-25 14:17 UTC Modified: 2005-03-05 17:41 UTC
Avg. Score:4.6 ± 0.5
Reproduced:5 of 5 (100.0%)
Same Version:3 (60.0%)
Same OS:5 (100.0%)
From: Assigned: moriyoshi (profile)
Status: Closed Package: Apache2 related
PHP Version: 5CVS-2005-02-25 OS: windows
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Bug Type:
New email:
PHP Version: OS:


 [2005-02-25 14:17 UTC]
The POST form data is always empty, while GET works.

In linux with PHP 5.1 built: Feb 20 2005 14:51:15, I don't have any problem.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2005-02-27 17:32 UTC]
I had apache 2.0.52 and I upgraded it to 2.0.53 and still doesn't work.

Any simple script like the above helps to reproduce:

    echo "ok";
    echo '<body><form method="POST" action="bugs.php"><textarea rows="10" name="t" cols="92"></textarea></p><p><input type="submit" value="submit"></form></body>';
 [2005-03-04 01:38 UTC] csaba at alum dot mit dot edu
I am also experiencing this problem - I was OK with the Feb 19 PHP snapshot, but by Feb 28, it was not working on my Win XP Pro, SP 2 system (nor was it working with March 1 nor March 3 builds).  It happens with both POST data and also when enctype='multipart/form-data'.  HOWEVER, as near as I can tell $HTTP_RAW_POST_DATA is populated.
I am using Apache 2.0.53 and I have php.ini in c:\windows.
Besides that I have the following 4 files in c:\winapps\
php.exe, php-win.exe, php5ts.dll, and php5apache2.dll, a fairly minimalistic setup.  My path includes c:\winapps\

If you can tell me how I can get the win32 builds for Feb 20-Feb 25, I can test each of them to see when the problem crept in.  I couldn't figure this out from

Csaba Gabor from Vienna
Note also that is very similar
 [2005-03-04 19:10 UTC]
yep $HTTP_RAW_POST_DATA is populated but neither $_POST or $HTTP_POST_VARS are.
 [2005-03-04 21:16 UTC]
Maybe I'm to blame and to look into this.

 [2005-03-04 23:51 UTC]
What were your configure params? Which MPM was used by 

 [2005-03-05 09:37 UTC]
I think this is a windows only problem.
I'm using the winnt MPM.

The config is always the same. I just upgrade the binaries.
 [2005-03-05 17:41 UTC]
This bug has been fixed in CVS.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
Thank you for the report, and for helping us make PHP better.

PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun May 19 03:01:33 2024 UTC