Please anyone who works on similar function gives me a hint how it
works or any sample code would be a great appreciation.
Thanks in advance.
webon
$filename = "http://theirdomain.com/linkpage.html";
$fd = fopen ($filename, "r");
$contents = fread ($fd, 10240); /* 10k used as a filesize - change if
necessary */
fclose ($fd);
$your_url = "http://yourdomain.com/index.html";
if (!stristr ($contents, $your_url)) { /* case-insensitive search four your
url */
echo "URL Not Found!";
} else {
echo "URL Found!";
}
This should work as long as their links page is straight html - if it is a
php script then the link won't be found (unless the link is hard-coded into
the script)!
--
Paul Barfoot
"work4u" <ros...@yahoo.com> wrote in message
news:9c872fe0.04110...@posting.google.com...