Hi,
I am running PHP as a cgi, not apache module. When i do a exec("/usr/local/bin/php -q dump.php");
it runs the file but my script hangs until it is finished, how do i start it and immediately get back to my script?
//dbaBert
put a '&' after the command
exec("/usr/local/bin/php -q dump.php &");
Yea, tried that, but the calling script still waits for the called to finish before it moves on to the next line.
Strange...