Re: call a php script in a php script
| From: | Thomas Munz | Date: | Tue, 28 Mar 2006 10:20:02 +0000 |
| Subject: | Re: call a php script in a php script | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-232722@lists.php.net to get a copy of this message | ||
I personaly use proc_open() to run PHP Scripts.
on Tuesday 28 March 2006 12:14, nicolas figaro wrote:
> Hi,
>
> I'd like to run a php script in another php script. (the first is
> lauched from the command line).
>
> Is there a way to do it better than
> system ("/path/to/php script_included.php options").
> ?
>
> the goal is to run several scripts with several options.
>
> the result of the included script should be a returning code with a
> message. (but it hasn't been fixed yet).
>
> Thanks a lot.
>
> Nicolas Figaro