Re: call a php script in a php script

From: Date: Tue, 28 Mar 2006 10:17:44 +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-232721@lists.php.net to get a copy of this message
nicolas figaro schrieb:
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 Hi Nocolas,
try : include(); or require(); regards, merlin

« previous php.general (#232721) next »