proactive scripts in PHP - is it possible?
Posted: Wed Apr 14, 2004 6:53 pm
Hello
I know that PHP acts on a client request. That is the code only runs as a response.
I was wondering whether it is possible to have a PHP script which can run proactively in the server without being triggered by a client request.
Examples:
A scheduler could send mails every hour...
database cleanup could run every hour...
does anyone know if it is possible, or do I need some other server-side technology for that?
thanks
I know that PHP acts on a client request. That is the code only runs as a response.
I was wondering whether it is possible to have a PHP script which can run proactively in the server without being triggered by a client request.
Examples:
A scheduler could send mails every hour...
database cleanup could run every hour...
does anyone know if it is possible, or do I need some other server-side technology for that?
thanks