[PHP] Problem to display the results of an exec + rsh command

2004-03-18 Thread Frédéric Martin
Hi everybody, I'm trying to execute some commands in a remote host (a cisco router) using rsh connection and I've problems for displaying the results. For example if I do this: $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

RE: [PHP] Problem to display the results of an exec + rsh command

2004-03-18 Thread Chris W. Parker
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