I know this question has been asked numerous times but I\'ve tried everything.
I have a PHP script that iterates through thousands of images, performs resizing if ne
This happens because the PHP script took too long to process whatever it was processing, and the connection to the server timed out. You have a few solutions:
mysql_connect
has built-in functionality to do that for you)mysql_pconnect
(but remember to close the connection at the end because it won't close for you)