I have this script which checks multiple domains for a link back to my site:
function backlinkCheck($ siteurl, $recip) {
$arrText = @file($siteurl) ;
for ($i=0; $i<count($arrTe xt); $i++) {
$text = $text . $arrText[$i];
}
if (eregi($recip, $text)) {
return true;
} else {
return false;
}
}
The problem is that It displays true or false only after it went through the
whole list.
Id like it to display each site after they are done. Anyone can tell me how
to do this?
--
Yang
function backlinkCheck($ siteurl, $recip) {
$arrText = @file($siteurl) ;
for ($i=0; $i<count($arrTe xt); $i++) {
$text = $text . $arrText[$i];
}
if (eregi($recip, $text)) {
return true;
} else {
return false;
}
}
The problem is that It displays true or false only after it went through the
whole list.
Id like it to display each site after they are done. Anyone can tell me how
to do this?
--
Yang
Comment