"Michael Dickson" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> On the server itself (to which I have root access) I type:
>
> someProgram arg1 arg2 arg3
>
> and it runs properly, returning the proper output to standard output (the
> screen). I can do this from anywhere on the server (for example, from the
> same directory where my php scripts are located, /var/www/html/blah), and
I
> can do it as the same user that apache runs as ('apache').
>
> BUT, when I try:
>
> <?php passthru("someProgram arg1 arg2 arg3"); ?>
>
> it fails. I get no output at all.
I'm just guessing since I can't access the PHP manual and since I don't know
what program you're running here -- but perhaps "someProgram" is outputting
to stderr by mistake. That's my only guess.
Dean Hall.
http://hall.apt7.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]