ID: 24028 User updated by: xiongwei at aerafront dot com Reported By: xiongwei at aerafront dot com Status: Open Bug Type: Output Control Operating System: win32 PHP Version: 4.3.2 New Comment:
I figure it out! perhaps, No problem under linux + apache environment, but it still is a bug on WIN32 platform. William Hong Previous Comments: ------------------------------------------------------------------------ [2003-06-04 22:24:32] xiongwei at aerafront dot com I wrote a routine "postrawdata.php" for displaying HTTP raw request message. <?php $putdata = fopen( "php://input" , "rb" ); while(!feof( $putdata )) echo fread($putdata, 4096 ); fclose($putdata); ?> It works properly when using a socket program to post something to it. But submitting from a simple HTML below will make it dead, even http headers were not sent back, the behavior of brwoser is just waiting before timeout, I have tested it under IE 6.0 and Netscape 7.0 , any suggestion is appreciate. <body> <form name="form1" method="post" action="postrawdata.php"> <input type="text" name="name" > <input type="submit" name="Submit" value="Submit"> </form> </body> I think PHP does not send correct responding data to browser, or it does not disconnect the HTTP channel, that makes browsers to wait , whereas my socket client do disconnect when finished. Thanks, William Hong ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=24028&edit=1