#31417 [Opn->Fbk]: $HTTP_RAW_POST_DATA but $_POST not populated
ID: 31417
Updated by: sniper@php.net
Reported By: j-spam at starline dot ee
-Status: Open
+Status: Feedback
Bug Type: CGI related
Operating System: Linux
PHP Version: 5.0.3
New Comment:
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
Previous Comments:
------------------------------------------------------------------------
[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
Thread (12 messages)
- j-spam at starline dot ee
- j-spam at starline dot ee#31417 [Opn]: $HTTP_RAW_POST_DATA but $_POST not populated
- sniper@php.net#31417 [Opn->Fbk]: $HTTP_RAW_POST_DATA but $_POST not populated
- php-bugs at lists dot php dot net#31417 [Fbk->NoF]: $HTTP_RAW_POST_DATA but $_POST not populated
- csaba at alum dot mit dot edu#31417 [Com]: $HTTP_RAW_POST_DATA but $_POST not populated
- robbhammack at gmail dot com#31417 [Com]: $HTTP_RAW_POST_DATA but $_POST not populated
- baker195 at btinternet dot com#31417 [Com]: $HTTP_RAW_POST_DATA but $_POST not populated
- fabiovh at nospammers dot gmail dot com#31417 [Com]: $HTTP_RAW_POST_DATA but $_POST not populated
- mgb at matthewbelden dot com#31417 [Com]: $HTTP_RAW_POST_DATA but $_POST not populated
- mgb at matthewbelden dot com#31417 [Com]: $HTTP_RAW_POST_DATA but $_POST not populated
- daniel dot kirsch at birgin dot de#31417 [Com]: $HTTP_RAW_POST_DATA but $_POST not populated
- rasmus@php.net#31417 [NoF]: $HTTP_RAW_POST_DATA but $_POST not populated