Files
wizzardRedux/sites/z80ne.php
2016-03-18 01:42:48 -07:00

48 lines
732 B
PHP

<?php
// Original code: The Wizard of DATz
print "<pre>";
$newfiles = array(
'http://www.z80ne.com/m20/index.php?argument=sections/download/wrm20/wrm20.inc',
);
foreach ($newfiles as $newfile)
{
print "load ".$newfile."\n";
$query = get_data($newfile);
$query = explode('<A href="', str_replace('&amp;', '&', $query));
$query[0] = null;
$old = 0;
$new = 0;
foreach ($query as $row)
{
if ($row)
{
$row = explode('"', $row);
$row = trim($row[0]);
if ($r_query[$row])
{
$old++;
}
else
{
$found[] = $row;
$new++;
}
}
}
print "found new:".$new.", old:".$old."\n\n";
}
foreach ($found as $row)
{
print "<a href=\"http://www.z80ne.com/m20/".$row."\">".$row."</a>\n";
}
?>