Date: 01/30/01
- Next message: sniper <email protected>: "[PHP-DEV] PHP 4.0 Bug #6200 Updated: fputs doesn't send, do not fflush after fgets."
- Previous message: sniper <email protected>: "[PHP-DEV] PHP 4.0 Bug #5945 Updated: PHP (CGI) + IIS4 Hangs When connecting to Oracle"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
ID: 5480
Updated by: sniper
Reported By: gs <email protected>
Status: Open
Old-Bug Type: Misbehaving function
Bug Type: Sockets related
Assigned To:
Comments:
Previous Comments:
---------------------------------------------------------------------------
[2000-07-09 06:54:14] gs <email protected>
$fp = fsockopen("localhost", "8000", &$errno, &$errstring, 3);
if(!$fp) {
echo "$errstr ($errno)<br>n";
}
else {
set_socket_blocking($fp, False);
fputs($fp, $message);
//while (!feof($fp)) {
//$string .= fread($fp, 20);
$string .= fgets($fp, 60);
//print("MESSAGE FGETS: $message<BR>n");
print("MESSAGE : $stringn");
//}
//fpassthru($fp);
print("MESSAGE FINISHED : $stringn");
fclose($fp);
//print("Message Received : $loginReceived<BR>");
}
---------------------------------------------------------------------------
Full Bug description available at: http://bugs.php.net/?id=5480
-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: sniper <email protected>: "[PHP-DEV] PHP 4.0 Bug #6200 Updated: fputs doesn't send, do not fflush after fgets."
- Previous message: sniper <email protected>: "[PHP-DEV] PHP 4.0 Bug #5945 Updated: PHP (CGI) + IIS4 Hangs When connecting to Oracle"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

