Re: call a php script in a php script

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux