Hi All,
I am trying to check if a website is up (reachable) and I have used the
standard code below:
Unfortunately this works for most sites but Microsoft doesn't work most of
the time even thought the site is definiately up! (Occassionally it does say
it is reachable but only occassionaly and
I am trying to check if a website is up (reachable) and I have used the
standard code below:
[...]
$socket = @fsockopen( $host, $port, $errno, $errstr, 30 );
if (!$socket)
fwrite ($socket, HEAD .$documentpath. HTTP/1.0\r\nHost:
$host\r\n\r\n);
$http_response =
* Thus wrote Henry Grech-Cini ([EMAIL PROTECTED]):
Hi All,
I am trying to check if a website is up (reachable) and I have used the
standard code below:
else
{
fwrite ($socket, HEAD .$documentpath. HTTP/1.0\r\nHost:
$host\r\n\r\n);
$http_response =
3 matches
Mail list logo