note 78307 added to function.system

From: Date: Fri, 05 Oct 2007 21:41:27 +0000
Subject: note 78307 added to function.system
Groups: php.notes 
Request: Send a blank email to php-notes+get-131158@lists.php.net to get a copy of this message
I now tried a few times to shutdown the whole server on which the LAMPP-Service is running, for this i tried: system('sudo init 0'); but it does not work. I tried to give sudo rights to the user 'nobody' (I looked up the current user by using: echo system('whoami')), it does not work. Could some of you help? Sorry for bad english! ---- Server IP: 69.147.83.197 Probable Submitter: 84.135.176.248 ---- Manual Page -- http://www.php.net/manual/en/function.system.php Edit -- https://master.php.net/note/edit/78307 Del: integrated -- https://master.php.net/note/delete/78307/integrated Del: useless -- https://master.php.net/note/delete/78307/useless Del: bad code -- https://master.php.net/note/delete/78307/bad+code Del: spam -- https://master.php.net/note/delete/78307/spam Del: non-english -- https://master.php.net/note/delete/78307/non-english Del: in docs -- https://master.php.net/note/delete/78307/in+docs Del: other reasons-- https://master.php.net/note/delete/78307 Reject -- https://master.php.net/note/reject/78307 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#131158) next »