anyone tell me sth. about HTTP/1.0 and HTTP/1.1 ?
best regards!
ked
-Original Message-
From: Eddie Dunckley [mailto:[EMAIL PROTECTED]
Sent: Friday, December 28, 2007 3:50 PM
To: php-general@lists.php.net
Subject: Re: [PHP] socket_read can not read the whole HTTP page?
On Fri 28 Dec
?
best regards!
ked
-Original Message-
From: Eddie Dunckley [mailto:[EMAIL PROTECTED]
Sent: Friday, December 28, 2007 3:50 PM
To: php-general@lists.php.net
Subject: Re: [PHP] socket_read can not read the whole HTTP page?
On Fri 28 Dec 07, ked wrote:
I wrote those script to get
I wrote those script to get HTTP url content, and it works , but it can't
read the whole content of the page.
Blocked on while ($out = socket_read($socket, 1024)) .
browser show the processbar all the time , and the page is not completed
display,
If I press ESC key to cancel the request , the
On Fri 28 Dec 07, ked wrote:
I wrote those script to get HTTP url content, and it works , but it
can't read the whole content of the page.
Blocked on while ($out = socket_read($socket, 1024)) .
$in .= GET {$file} HTTP/1.1\r\n;
try to change this to $in .= GET {$file} HTTP/1.0\r\n;
$in .=
On Fri 28 Dec 07, Eddie Dunckley wrote:
On Fri 28 Dec 07, ked wrote:
I wrote those script to get HTTP url content, and it works , but
and change this to
$in .= Connection: closed\r\n\r\n;
soz that should be close not closed;
--
Eddie - Chaos, panic, and disorder - my work here is done.
5 matches
Mail list logo