2. VerifyDXCC.php does a MySQL SELECT, and for each record I do an operation that takes 2-5 seconds.

With small amounts of data (say 10-20 records), it all works fine. For large sets (~700) I get no error and no script completion. It just sits there waiting for the page to complete. I can tell that the script is actually completing because all database entries are updated, but after updating all records, which could take 20-30 mins, the script just hangs.

I have put a " set_time_limit(30);" at the beginning of processing each record to stop the page timing out, but obviously something else is timing out (with no error message). Any suggestions as to what it could be?