Hi. Okay, but one thing to check is to see if the following code is still in the spider.php file, right before the "//is this link already in temp table" comment:
PHP Code:
if (!get_magic_quotes_runtime()) {
$lien['path'] = addslashes($lien['path']);
$lien['file'] = addslashes($lien['file']);
}
As both queries as nearly the same, my initial guess would be that $lien['path'] and/or $lien['file'] are no longer being escaped and so the queries are breaking and mysql_num_rows has nothing to 'num' on.