Re: sendmail loop

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



At 4:54 PM -0600 4/13/07, John Pillion wrote:
I have a sendmail script that loops through an array of email addresses. the
problem is, the list can sometimes be fairly long, and the page does not
finish loading until the loop has completed.  Currently, I have the majority
of the page loading, including text that says "messages sending, please
wait.", with a "completed" message after the loop.  Though that gives an
appearance of working (and lets the patient user know what is going on), if
the user leaves the page, or the page times out before the loop has
finished, not all the emails will be sent.



Is there a way to trigger a script to run on the server (in the background)?

Google cron and php.

tedd
--
-------
http://sperling.com  http://ancientstones.com  http://earthstones.com

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux