A free service some of our customers use to keep an eye on their site’s availability.
[insert_php]
$colors = array(“http://www.emmabritton.net/”,”http://www.standardnarrowboats.co.uk/”, “http://signituk.co.uk/”);
foreach ($colors as $value)
{
$file= $value;
$headers = @get_headers($file);
if(strpos($headers[0],’200′)===false)
{ $exists = “NO “;
}
else {
$exists = “YES”;
}
echo $exists,” “,$value, ”
“;
}
[/insert_php]