Display Ads On This Blog

Banner Ads on scriptforphp.blogspot.com
Provides free php script for php developer.
Prix: € 5.00

Friday, May 8, 2009

check URL is exist or not

$flag = url_exists("http://www.example.com/somepage.html");

function url_exists($url)
{
$handle = @fopen($url, "r");
if ($handle === false)
{
return false;
}
else
{
return true;
}
fclose($handle);
}

0 comments:

Post a Comment