note 36562 added to ref.exec

From: Date: Wed, 15 Oct 2003 01:43:41 +0000
Subject: note 36562 added to ref.exec
Groups: php.notes 
Request: Send a blank email to php-notes+get-58599@lists.php.net to get a copy of this message
I am sticking to develope a system management,which management the sysytem through lan and write in php.so we must excute some system command,then i call exec , shell_exec ,or popen to excute "fdisk -l" ,but it not go on. I think i haven't enough privilege to do it,then i try to excute exec("su -l root -c") to let me become root user,but it cann't go on too.what wrong i'am? ---- Manual Page -- http://www.php.net/manual/en/ref.exec.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+36562 Delete -- http://master.php.net/manage/user-notes.php?action=delete+36562&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+36562&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#58599) next »