I've used the following line in some of my scripts, some of which run for 10 or 15 minutes.
set_time_limit(0); The server won't time out, but it takes a while to get anything back to the browser. It's not ideal, because it takes some time before anything gets sent back to the browser, but it does the trick. Kind regards Chris Neale Somerfield Stores Ltd. -----Original Message----- From: Sheni R. Meledath [mailto:[EMAIL PROTECTED] Sent: 11 September 2003 13:23 To: PHP Masters Subject: [PHP] Mailing List Programme Hello: I have created an application to read email addresses from a list and to send emails. The problem now I am facing is, if the list is very long then I am getting an error message in the browser "Server Timed Out". How can I display a confirmation message and continue sending the emails from the server? That is, trigger a separate script (not related to browser) on the server which handles the emails and then return a success message. Can anybody help me to find out a logic or script on this. Sheni R Meledath [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php If you are not the intended recipient of this e-mail, please preserve the confidentiality of it and advise the sender immediately of any error in transmission. Any disclosure, copying, distribution or action taken, or omitted to be taken, by an unauthorised recipient in reliance upon the contents of this e-mail is prohibited. Somerfield cannot accept liability for any damage which you may sustain as a result of software viruses so please carry out your own virus checks before opening an attachment. In replying to this e-mail you are granting the right for that reply to be forwarded to any other individual within the business and also to be read by others. Any views expressed by an individual within this message do not necessarily reflect the views of Somerfield. Somerfield reserves the right to intercept, monitor and record communications for lawful business purposes. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php