Re: Using PHP to reboot the linux server
| From: | Ryan | Date: | Fri, 02 Aug 2002 19:27:20 +0000 |
| Subject: | Re: Using PHP to reboot the linux server | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-110867@lists.php.net to get a copy of this message | ||
Is it
reboot -n ??
Harpreet Kaur 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𠏋 largest e-mail service with MSN Hotmail.
> http://www.hotmail.com
>