note 49901 added to ref.exec
| From: | gandapoetra at plasa dot com | Date: | Fri, 11 Feb 2005 14:26:43 +0000 |
| Subject: | note 49901 added to ref.exec | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-84844@lists.php.net to get a copy of this message | ||
I'm newbie PHP
i want ask about this exec();
How i can execute linux command as root like :
>> change ifconfig
>> change iptable/ipchain
>> or command for change configuration of my linux server that must have root access
ok... please help me thanks....
----
Manual Page -- http://www.php.net/manual/en/ref.exec.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+49901
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+49901&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+49901&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+49901&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+49901&report=yes&reason=useless
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+49901&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+49901&report=yes
Search -- http://master.php.net/manage/user-notes.php