Re: [PHP] re:Using PHP to reboot the linux server

2002-08-02 Thread Nick Oostveen

Does the user apache is running as have access to reboot the server?

At 07:18 PM 8/2/2002 +, 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
>


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] re:Using PHP to reboot the linux server

2002-08-02 Thread Harpreet Kaur

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