rendered paste bodywt<?$time_start = time()+microtime();include("include/required.php");echo "<table>";$nr = 0;if ($handle = opendir('./nfos/nfo-archive')) { while (false !== ($file = readdir($handle))) { if ($file != "." && $file != "..") { if ($handle2 = opendir('./nfos/nfo-archive/'.$file)) { while (false !== ($files = readdir($handle2))) { if ($files != "." && $files != "..") { if(substr($files,-3) == 'nfo') { $path = "./nfos/nfo-archive/$file/$files"; $querynew = "INSERT INTO `nfo` VALUES (NULL, '$file', LOAD_FILE('$path'), '$files');"; $resultnew=mysql_query($querynew); if ($resultnew) { $nr++; //echo "<tr><td>".$nr."</td><td>".$file.'/'.$files."</td></tr>"; } } } } closedir($handle2); } } } closedir($handle);}$time_end = time()+microtime(); //The search is done, so what time is it now?$page_time = round($time_end - $time_start, 5);echo "</table>";echo "Done, imported $nr .nfo's in $page_time seconds";?>