PHP 4.0 Bug #9830: There is a problem with HTTP POST method.
| From: | serg at spylog dot ru | Date: | Mon, 19 Mar 2001 09:03:07 +0000 |
| Subject: | PHP 4.0 Bug #9830: There is a problem with HTTP POST method. | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-49329@lists.php.net to get a copy of this message | ||
From: serg@spylog.ru
Operating system: Suse Linux
PHP version: 4.0.4pl1
PHP Bug Type: HTTP related
Bug description: There is a problem with HTTP POST method.
Here comes POST request:
>telnet www.spylog.ru 80
-----------------
POST /log_post.phtml HTTP/1.1
Host: www.spylog.ru
Content-Length: 32
12345678901234567890123456789012
-----------------
The answer to this request is random :-) Sometimes 200, sometimes just connection close!
But If I use perl - it works fine!
>telnet www.spylog.ru 80
-----------------
POST /cgi-bin/main.pl HTTP/1.1
Host: www.spylog.ru
Content-Length: 32
12345678901234567890123456789012
-----------------
Sometimes it seems that script works, but if I reads info from STDIN to a file - the file is empty.
The same with Perl work's fine. I think it is a bug.
--
Edit Bug report at: http://bugs.php.net/?id=9830&edit=1