"; $r_query = array_flip($r_query); $start = $r_query[0]; $r_query = array_flip($r_query); print "\nSearch for new uploads\n\n"; $query = get_data("http://robert.hurst-ri.us/downloads/"); preg_match_all("/href=\"(http:\/\/robert\.hurst-ri\.us\/files\/.*)\/\"/", $query, $dls); $new = 0; $old = 0; foreach ($dls[1] as $dl) { if (!$r_query[$dl]) { $new++; print "found: ".$dl."\n"; } else { $old++; } } /* // Original code, no longer applicable for ($x = $start; $x < $start + 10; $x++) { $query = get_data("http://robert.hurst-ri.us/downloads/?did=".$x); $gametitle = explode('