Re: Question on exec() to call a php script from a php script
| From: | Raj Shekhar | Date: | Sun, 31 Jul 2005 22:24:59 +0000 |
| Subject: | Re: Question on exec() to call a php script from a php script | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-219724@lists.php.net to get a copy of this message | ||
"Liang ZHONG" <little00wofl@hotmail.com> writes:
> If my php is configured as (
> http://liang.ns2user.info/php/info-train06.htm) an apache 2.0
> filter
> module. The php is invoked by apache on request of http client. Can I
> do an exec() to call another php script to run in the background? If
> yes, how?
>
This page might be of help http://in2.php.net/manual/en/ref.pcntl.php
Though I am quite sure there is an easier way to accomplish whatever
you are trying to do by running a background process
--
Raj Shekhar
blog : http://rajshekhar.net/blog home : http://rajshekhar.net
Disclaimer : http://rajshekhar.net/disclaimer