Re: [PHP] php - set interval

2005-04-05 Thread Richard Lynch
On Sun, April 3, 2005 7:10 pm, Andrew said: i've been searching for a 'setInterval' function in php and haven't had much luck. http://php.net/sleep is kinda sort not like what you want. A cron job might be what you want, depending on if you classify cron as complicated server stuff or not. I

[PHP] php - set interval

2005-04-03 Thread Andrew
hello, i've been searching for a 'setInterval' function in php and haven't had much luck. in actionscript (which is similar to php) you can make a function which calls another function at a set interval, and i was keen to do this with php for a mail script so that rather than sending 500

Re: [PHP] php - set interval

2005-04-03 Thread Rasmus Lerdorf
None of this makes any sense. PHP is a server-side request-based language. If you want to put a delay in between things on a request, call sleep(), but it is still just a single request which is going to take a finite amount of time to run. The correct way to send a bunch of emails is to