Re: re:Using PHP to reboot the linux server
| From: | Nick Oostveen | Date: | Fri, 02 Aug 2002 19:24:27 +0000 |
| Subject: | Re: re:Using PHP to reboot the linux server | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-110868@lists.php.net to get a copy of this message | ||
Does the user apache is running as have access to reboot the server?
At 07:18 PM 8/2/2002 +0000, you wrote:
I am using the below command in the php page to reboot the linux server. But nothing happens . Where am i wrong or do i have to give a path or nething . Please help.
$output = shell_exec(reboot);
echo $output;
_________________________________________________________________
Join the world's largest e-mail service with MSN Hotmail. http://www.hotmail.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php