ну... лана ну может не 15
Код:
<?php
if ($handle = opendir('.')) {
while (false !== ($file = readdir($handle))) {
if ($file != "." && $file != ".." && eregi(".html", $file)) {
$fp = @fopen($file,"rb");
$cont = fread($fp,filesize($file);
fclose($fp);
if(eregi($string,$cont)){echo "$string found in $file\n";}
}
}
closedir($handle);
}
?>
ну 13..... :xex: