note 32945 added to function.shell-exec
| From: | gennerp at telnetip dot net | Date: | Wed, 11 Jun 2003 14:06:35 +0000 |
| Subject: | note 32945 added to function.shell-exec | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-50189@lists.php.net to get a copy of this message | ||
I have a problem, i need to execute the ping command from web, i've followed all examples and
they all works for with the backstick operator, but when i going to execute a ping, it don't
show any output.
When i execute for example:
$ping =
ls -l;
echo '<pre>$output</pre>';
this work fine, so my question is how do i do to output the ping command from web? I have linux
redhat 8.0.
----
Manual Page -- http://www.php.net/manual/en/function.shell-exec.php
Edit Note -- http://master.php.net/manage/user-notes.php?action=edit+32945
Delete Note -- http://master.php.net/manage/user-notes.php?action=delete+32945&report=yes
Reject Note -- http://master.php.net/manage/user-notes.php?action=reject+32945&report=yes