RE: [PHP] Start php-script with exec()?
| From: | Jay Blanchard | Date: | Mon, 22 Sep 2003 12:31:09 +0000 |
| Subject: | RE: [PHP] Start php-script with exec()? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-163455@lists.php.net to get a copy of this message | ||
[snip]
Is it possible?
I have a file that takes 5 minutes to run, and I would like to be able
to start it when loading a page. But I can't include it because it
forces the browser to timeout...
exec("script.php") doesn't seem to work...
[/snip]
exec needs a little more information, and will the exec'd script need to return information to
the browser?
exec("php script.php"); will run the script.