Re: Start php-script with exec()?
| From: | Victor Spång Arthursson | Date: | Mon, 22 Sep 2003 12:59:13 +0000 |
| Subject: | Re: Start php-script with exec()? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-163458@lists.php.net to get a copy of this message | ||
måndagen den 22 september 2003 kl 14.52 skrev Jay Blanchard:
As usual for *nix type 'which php' which will return the path to the PHP executable. For portability you could then do something to the effect of (not tested)which() doesn't resolve the path, but I found out it was /usr/local/php/bin/php. But how do I make the call exec("/usr/local/php/bin/php process1.php"); so that the page from which the call is made doesnt wait for the result but instead just continues? Sincerely, Victor