on 1/17/01 10:12 AM, Chris Lee at [EMAIL PROTECTED] wrote:
There are occasions when I'd like to execute some long-running task
in the background, in response to some user action. It seems that
Im nearly posative this isnt what your looking for, but I thought I would
see if maybe it was :)
There are occasions when I'd like to execute some long-running task
in the background, in response to some user action. It seems that
PHP has all the neccesary mechanisms to allow me to do this, but
in my perusing of the manuals/FAQ's/digests, etc, I don't see such
a facility.
For example,
Im nearly posative this isnt what your looking for, but I thought I would
see if maybe it was :)
compile php as a cgi so you can run it from the command prompt. then just
run the php file from the command prompt through exec ()
?
exec("php -q somephpfile.php ");
?
untested of course.
Chris
3 matches
Mail list logo