Status
Not open for further replies.

Scorpions

Member
9
2011
0
0
Hi All,

I have a problem when checking a lot of forums live or die. So, Please share me if you have any tool like that.

Many thank for your help.
 
4 comments
How about using some PHP & cURL ...

Code:
<?php
$url1 = 'http://dp911.wordpress.com/';

$ch = curl_init($url1);  
curl_setopt($ch, CURLOPT_NOBODY, true); 
curl_exec($ch);  
$retcode = curl_getinfo($ch, CURLINFO_HTTP_CODE);  
curl_close($ch);  

if (200==$retcode) {  
echo "$url1 - <font color=\"green\">ONLiNE</font>";
} else {  
echo "$url1 - <font color=\"red\">OFFLiNE</font>";
} 
?>
Just an example.

Edit.
http://K3V.co.uk/Test.php
 
Last edited:
Status
Not open for further replies.
Back
Top