note 65454 added to function.system
| From: | ramandeepmann at gmail dot com | Date: | Mon, 01 May 2006 08:51:17 +0000 |
| Subject: | note 65454 added to function.system | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-110245@lists.php.net to get a copy of this message | ||
i am trying to ping through system command
the command is
system("ping $var");
but i am not getting any error nothing and ping is not working i tried
system("nmap $var");
and it is working
i am using redhatlinux enterprise edition and i disabled SElinux but still i am not able to ping wht
should i do
----
Server IP: 203.199.107.94
Probable Submitter: 203.193.132.139 (proxied: 192.168.2.181)
----
X-Spam-Status: No, hits=3.1 required=5.0 tests=DATE_MISSING,FROM_NO_LOWER
autolearn=no version=2.64
----
Manual Page -- http://www.php.net/manual/en/function.system.php
Edit -- http://master.php.net/note/edit/65454
Del: integrated -- http://master.php.net/note/delete/65454/integrated
Del: useless -- http://master.php.net/note/delete/65454/useless
Del: bad code -- http://master.php.net/note/delete/65454/bad+code
Del: spam -- http://master.php.net/note/delete/65454/spam
Del: non-english -- http://master.php.net/note/delete/65454/non-english
Del: in docs -- http://master.php.net/note/delete/65454/in+docs
Del: other reasons-- http://master.php.net/note/delete/65454
Reject -- http://master.php.net/note/reject/65454
Search -- http://master.php.net/manage/user-notes.php