note 23349 deleted from function.socket-set-timeout by didou
| From: | didou@php.net | Date: | Thu, 09 Oct 2003 18:10:29 +0000 |
| Subject: | note 23349 deleted from function.socket-set-timeout by didou | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-58164@lists.php.net to get a copy of this message | ||
Note Submitter: calin@php9.com
----
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