ID:               31417
 Updated by:       [EMAIL PROTECTED]
 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

Reply via email to