ID: 31417
Comment by: csaba at alum dot mit dot edu
Reported By: j-spam at starline dot ee
Status: Feedback
Bug Type: CGI related
Operating System: Linux
PHP Version: 5.0.3
New Comment:
Huge problem. This just started happening on my Win XP Pro (SP 2)
machine - checked with both the Feb 28 snapshots and March 1 snapshots.
It was not happening on the Feb 19 snapshots, but I think it might be
going on since Feb 25 because of: http://bugs.php.net/bug.php?id=32109
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\latest:
php.exe, php-win.exe, php5ts.dll, and php5apache2.dll, a fairly
minimalistic setup.
Csaba Gabor from Vienna
Previous Comments:
------------------------------------------------------------------------
[2005-02-28 21:07:26] sniper@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php5-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php5-win32-latest.zip
------------------------------------------------------------------------
[2005-01-05 16:03:50] j-spam at starline dot ee
btw $_GET works.
------------------------------------------------------------------------
[2005-01-05 15:58:37] j-spam at starline dot ee
Typo: "$HTTP_RAW_POST_DATA" not "$_HTTP_RAW_POST_DATA" on Reproduce
code, line 2.
------------------------------------------------------------------------
[2005-01-05 15:55:35] j-spam at starline dot ee
Description:
------------
$_POST is not populated, however $HTTP_RAW_POST_DATA is.
lighttpd 1.3.5 using cgi (not fcgi)
CGI-PHP5 5.0.3
Firefox 1.0
Reproduce code:
---------------
$_POST: <?php print_r($_POST); ?><br>
$HTTP_RAW_POST_DATA: <?php print_r($_HTTP_RAW_POST_DATA); ?><br><br>
<form action="<?=$_SERVER["PHP_SELF"] ?>" method="post">
<textarea name="duh"><?=$_POST["duh"];?></textarea>
<input type="submit" />
</form>
Actual result:
--------------
$_POST: Array ( )
$HTTP_RAW_POST_DATA: bla=asdf&duh=eeca%0D%0Aasdf%0D%0Aasdf
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=31417&edit=1