LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   server shutdown (https://www.linuxquestions.org/questions/linux-software-2/server-shutdown-545173/)

amena 04-11-2007 12:29 PM

server shutdown
 
can you help me with the instruction that shutdown the server using php???

trickykid 04-12-2007 09:30 AM

You could just use an exec command to use the actual command. Just make sure whatever user is running php or on the web has access to shutdown. In my opinion, writing a script to shutdown a machine thru php or a web interface is a bad idea.


All times are GMT -5. The time now is 12:55 AM.