Re: rebooting linux using php
| From: | Jason Wong | Date: | Fri, 19 Jul 2002 03:53:40 +0000 |
| Subject: | Re: rebooting linux using php | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-108421@lists.php.net to get a copy of this message | ||
On Friday 19 July 2002 04:26, Scott Fletcher wrote:
> If you're going to use the cron file (or crontab) then php wouldn't work
> because it is a programming languages for the web pages. For cron files or
> crontab, you can use the bash shell or ksh or whatever you have. It's
> simple. All you had to do is to create a file on hte Unix/Linux machine
> and do the following ...
John's reply was meant to show that it is a very bad idea to allow someone
reboot the server from a webpage (without the proper safeguards). If he had
URL he could setup a cron job which would reboot the OP's computer every
minute and that _wouldn't_ be fun.
--
Jason Wong -> Gremlins Associates -> www.gremlins.com.hk
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
/*
The Public is merely a multiplied "me."
-- Mark Twain
*/