ID: 33655 Comment by: mgazza2 at hotmail dot com Reported By: gzsolt at yahoo dot com Status: Open Bug Type: CGI related Operating System: Windows XP SP1 PHP Version: 4.3.11 New Comment:
i have also encountered this problem i also use my own web server(one i wrote) the problem is php is not compling with cgi/1.1 php waits for return to be pressed in other words we have to write $0A $0D(#13#10) at the end of the stdin and add 2 bytes to the envar Content_Length which to me is stupid perl and cgi all work without adding these bytes php !should! by saying they suport cgi/1.1 read the length of bytes in the stdin suplied in the Content_Length envar regards mark Previous Comments: ------------------------------------------------------------------------ [2005-07-12 12:00:06] gzsolt at yahoo dot com Description: ------------ I am using PHP 4.3.11 under Windows XP. I run the CGI version from my own webserver (meaning i wrote it). The CGI support is OK i my webserver, other CGI programs working fine. The problem is the following: a simple login forms posts data to a php page. The webserver gets, the request inc. post data. It start php, sends the post data trough STDIN. PHP reads out all data from STDIN (Content-Length bytes), it gets to the $HTTP_RAW_POST_DATA variable, but the $_POST and $HTTP_POST_VARS arrays remaining empty! I have no clue what could cause this problem, possibly not a bug at all, but i did not find any problem in my php config (i can post it, if needed). ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=33655&edit=1
