#32109 [Opn]: POST data is empty
| From: | nlopess@php.net | Date: | Fri, 04 Mar 2005 18:10:14 +0000 |
| Subject: | #32109 [Opn]: POST data is empty | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-74847@lists.php.net to get a copy of this message | ||
ID: 32109
Updated by: nlopess@php.net
Reported By: nlopess@php.net
Status: Open
Bug Type: Apache2 related
Operating System: windows
PHP Version: 5CVS-2005-02-25
New Comment:
yep $HTTP_RAW_POST_DATA is populated but neither $_POST or
$HTTP_POST_VARS are.
Previous Comments:
------------------------------------------------------------------------
[2005-03-04 01:38:22] 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.net:
php.exe, php-win.exe, php5ts.dll, and php5apache2.dll, a fairly
minimalistic setup. My path includes c:\winapps\php.net
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 http://snaps.php.net/win32
Csaba Gabor from Vienna
Note also that http://bugs.php.net/bug.php?id=31417 is very similar
------------------------------------------------------------------------
[2005-02-27 17:32:55] nlopess@php.net
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:
<?
print_r($_POST);
if(!empty($_POST['t'])){
file_put_contents('bugs.txt',$_POST['t']);
echo "ok";
}else{
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-02-27 14:31:36] sniper@php.net
Reproduce script? (fyi: works fine here)
------------------------------------------------------------------------
[2005-02-27 13:54:45] nlopess@php.net
Sorry Derick, but I don't have any more info.
I simply upgraded PHP (that was one or two weeks old) to the most
recent CVS version and the POST vars are broken.
------------------------------------------------------------------------
[2005-02-27 12:32:02] derick@php.net
Not enough information was provided for us to be able
to handle this bug. Please re-read the instructions at
http://bugs.php.net/how-to-report.php
If you can provide more information, feel free to add it
to this bug and change the status back to "Open".
Thank you for your interest in PHP.
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/32109
--
Edit this bug report at http://bugs.php.net/?id=32109&edit=1