--- "Tumurbaatar S." <tumurbaatar@xxxxxxxxxx> wrote: > The scenario is: > > 1. Site administrator logs into his admin page and > writes > some message on a form. > 2. After clicking submit the web script should > broadcast > this message to several hundred subscribers. If you want to send the message as email mail() is the only option. > > And I'm wonder how to implement this on PHP. > Sending an email to each subscribers can take > a much time and PHP will stop after > max_execution_time. you can set max time by set_time_limit(), for disable time limit just use set_time_limit(0). BTW register_shutdown_function() can be helpfull in handling performance related doubts. zareef ahmed > Any ideas? > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > ===== Zareef Ahmed :: A PHP Developer in Delhi ( India ). Homepage :: http://www.zasaifi.com/zareef_ahmed.php _______________________________ Do you Yahoo!? Declare Yourself - Register online to vote today! http://vote.yahoo.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php