PDA

View Full Version : Remote reboot in php



Archbob
June 12th, 2003, 16:48
Hi guys, whats the command to reboot a server in php?

Cagez
June 12th, 2003, 18:13
You can do that?! :eek:

Archbob
June 12th, 2003, 22:45
I thought you could if the server had the right things installed.

hohoho
June 13th, 2003, 07:30
maybe try exec() (http://php.net/manual/en/function.exec.php) or system() (http://php.net/manual/en/function.system.php)

Archbob
June 15th, 2003, 00:24
if I wanted to execute a program with exec(), would it just be exec(program.exe)?