Follow along with the video below to see how to install our site as a web app on your home screen.
Примечание: This feature may not be available in some browsers.
<?php
set_time_limit(0);
$file_ok = 'found.txt';
$file_bad = 'not_found.txt';
if (($fh_ok = fopen($file_ok, 'w')) === FALSE)
exit("error open file $file_ok\n");
if (($fh_bad = fopen($file_bad, 'w')) === FALSE)
exit("error open file $file_bad\n");
$fp=fopen("urls.txt", "r");
while($url=trim(fgets($fp)))
{
$data=file_get_contents($url);
$params ='/nofollow/';
if (preg_match_all ($params, $data, $match, PREG_SET_ORDER))
fwrite($fh_ok, "$url\n");
else
fwrite($fh_bad, "$url\n");
}
fclose($fp);
fclose($fh_ok);
fclose($fh_bad);
?>
Или сюда:а в not_found.txt соответственно без!
Извините за тупой вопрос...found.txt будут записываться гесты с нофолов