February 1, 2008 at 2:17 pm
#759884
Inactive
here is the funtion that does the checks..
[PHP]
function check_back_link($remote_url, $your_link) {
$match_pattern = preg_quote(rtrim($your_link, “/”), “/”);
$found = false;
if ($handle = @fopen($remote_url, “r”)) {
while (!feof($handle)) {
$part = fread($handle, 1024);
if (preg_match(“/(.*)/”, $part)) {
$found = true;
break;
}
}
fclose($handle);
}
return $found;
}
[/PHP]