Re: Running CLI from a web page
| From: | Chris Shiflett | Date: | Tue, 11 Nov 2003 00:04:08 +0000 |
| Subject: | Re: Running CLI from a web page | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-169104@lists.php.net to get a copy of this message | ||
--- Ron Rudman <ron@helphosts.com> wrote:
> There are already plenty of echo statements in foo! They DO show up
> when I run php foo. It's when I try to use system("php foo") that I
> don't get anything.
I missed the original question, but why are you trying to use the PHP CLI
from within PHP itself? Can you perhaps use eval() instead?
http://www.php.net/eval
Hope that helps.
Chris
=====
My Blog
http://shiflett.org/
HTTP Developer's Handbook
http://httphandbook.org/
RAMP Training Courses
http://www.nyphp.org/ramp