Hi,
Is there any better and quicker way of searching for my link on other sites pages where I have exchanged links. I have done the below script and it is very slow. It takes about 1 minute just to do 20 links and I have over 4,000.
It also brings up errors like permissions denied for x site, connection died out for y site, etc.
Here's what I have so far.
PHP Code:$sqled = mysql_query("SELECT ided, reciprocal FROM affil ORDER BY ided ASC LIMIT 0, 20");
while($rows = mysql_fetch_array($sqled)){
if(!empty($rows[reciprocal])){
$extsite = "$rows[reciprocal]";
$extsitedo = file_get_contents("$extsite");
$checklinks = "http://www.mydomainname.com";
if(strpos($extsitedo, $checklinks)){
echo "SITE FOUND<br />";
}else{
echo "SITE NOT FOUND<br />
}}}





Bookmarks