I've been working on a script to mailshot my clients from a mysql database, which contains quite a lot of email addresses, about 1000 to be exact. As you may know, this could take a lot of script processing time.
My webhost wont increase any timeouts to more than 30 seconds for 'security reasons' but I have managed to get around this with ini_set's for max_execution_time and mysql.connect_timeout within the script, which have worked.
But now I get a 'page cannot be found' error if the process takes longer than about 30/40 seconds.
SO... I have managed to set the script execution times long enough... but is there a way to increase the execution time of the actual page? I think with asp there is an http runtime executionTimeout or something, but is there anything similar in php? or general html?
I could split the email addresses down into batches of 100 and re-direct the page if it hasent sent to all of them yet, but i thought I would check if there was a better way first?
Any help is appreciated! Thanks!