note 23349 added to function.socket-set-timeout

From: Date: Tue, 16 Jul 2002 08:58:09 +0000
Subject: note 23349 added to function.socket-set-timeout
Groups: php.notes 
Request: Send a blank email to php-notes+get-33119@lists.php.net to get a copy of this message
I think the example lacks this ending: <?php $fp = fsockopen("www.example.com", 80); if(!$fp) { echo "Unable to open\n"; } else { ...... } echo "\n", 'Read 2000 bytes in '. (int) (time() - $start) .' seconds' ; ?> Calin Uioreanu php9.com Weblog http://www.php9.com -- http://www.php.net/manual/en/function.socket-set-timeout.php http://master.php.net/manage/user-notes.php?action=edit+23349 http://master.php.net/manage/user-notes.php?action=delete+23349 http://master.php.net/manage/user-notes.php?action=reject+23349

« previous php.notes (#33119) next »