call a php script in a php script
| From: | nicolas figaro | Date: | Tue, 28 Mar 2006 10:14:15 +0000 |
| Subject: | call a php script in a php script | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-232720@lists.php.net to get a copy of this message | ||
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