Frédéric Martin <mailto:[EMAIL PROTECTED]>
    on Thursday, March 18, 2004 7:31 AM said:

> $res = exec("rsh x.x.x.x -l username ping x.x.x.x);
> echo "<pre> $res </pre>";
> 
> I cannot display the result of the ping made in the remote host.
> any idea to fix that?
> thank you in advance for your tips ...

i don't have any idea why it's not working and i've never used exec(), but maybe you'd 
have better luck with the back tick operator (at least i think it's an operator)?

$res = `rsh x.x.x.x -l username ping x.x.x.x`;


chris.

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

Reply via email to