(I doubt also that it is a
rivetting
read :)) I hope this helps any future developers who are considering
the
use of high level socket connections with HTTP/1.1.
-Original Message-
From: Boaz Yahav
Sent: Friday, March 22, 2002 5:49 PM
To: PHP General (E-mail)
Subject: [PHP] Weird fso
Hi
I'm using
$fp=fsockopen($URL,80, &$errno, &$errstr,10);
set_socket_blocking($fp,false);
to get the HTML from a remote site and monitor how long it took me to DL
the HTML.
The next lines are like this :
if ($fp) {
$SendGetStart = getmicrotime();
fwrite($fp,"GET / HTTP/1.1\
2 matches
Mail list logo