Posted by Justin Koivisto on 12/05/04 11:27
Maximus wrote:
> okay i tried it and here's the problem.
>
> the script sends SMS and loops for as long as it sends the message to
> the required numbers.
>
> This whole process takes more than 30 seconds for the script to finish
> executing. which ends it with a timeout reason.
>
> is there any solution for this?
>
ini_set('max_execution_time,$num_seconds);
....however, for your purposes, it sounds like you may be better off
looking into using cron (on a *nix system) to fire off the messages...
--
Justin Koivisto, ZCE - justin@koivi.com
http://koivi.com
[Back to original message]
|