|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[1999-06-18 11:54 UTC] sas at cvs dot php dot net
|
|||||||||||||||||||||||||||
Copyright © 2001-2026 The PHP GroupAll rights reserved. |
Last updated: Thu Oct 08 10:00:01 2026 UTC |
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); }