RE: [PHP] processing a job in the background
| From: | hennink at patrijs dot max dot nl | Date: | Sat, 23 Dec 2000 22:14:30 +0000 |
| Subject: | RE: [PHP] processing a job in the background | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-31711@lists.php.net to get a copy of this message | ||
Unfortunately it is just a internal php-function(mail) and not a system
call.
So exec won't work.
Tijmen
On Sat, 23 Dec 2000,
Chris Blaise wrote:
>
> > does anybody know how to fork a process in php to the background????
>
> If you re-direct a system call to /dev/null, you can make it happen. For
> example:
>
> exec("foo > /dev/null &");
>
> Chris
>
>
>
--
Customer: I'm running Windows '98
Tech: Yes.
Customer: My computer isn't working now.
Tech: Yes, you said that.