Bug #1505: Socket code still buggy in 3.0.9!

From: Date: Tue, 08 Jun 1999 10:02:10 +0000
Subject: Bug #1505: Socket code still buggy in 3.0.9!
Groups: php.dev 
Request: Send a blank email to php-dev+get-6702@lists.php.net to get a copy of this message
From: landen@frg.eur.nl Operating system: Linux 2.0.36 PHP version: 3.0.9 PHP Bug Type: Other Bug description: Socket code still buggy in 3.0.9! The following piece of code worked perfectly under 3.0.7, failed under 3.0.8 and still fails under 3.0.9 The server is up continuously so you can run it yourself, the output should be: Banner: COOKIED mailsys Error: ERROR $fp = fsockopen("mrelay.frg.eur.nl", 444, &$errno, &$errstr); if(!$fp) { echo "$errstr ($errno)<br>\n"; } else { echo "Banner: ",fgets($fp,4096),"<br>\n"; fputs($fp,"cookie 123\r\n"); echo "Error: ",fgets($fp,4096),"<br>\n"; fputs($fp,"QUIT\r\n"); fclose($fp); }

« previous php.dev (#6702) next »