hi
i want to know if i can shutdown and restart windows xp using php code eg for a admin control panel
thanks
how to shutdown windows xp using php scripts
Moderator: General Moderators
I dont think you can do it with exec();, on windows 98 you can shutdown
by using exec("rundll user,exitwindows 0"); but on xp... all i would know how to do would be lock the computer, but... you can use php's w32api to move the mouse and click so it _is_ possible... or you could simply call a third party tool using exec();
by using exec("rundll user,exitwindows 0"); but on xp... all i would know how to do would be lock the computer, but... you can use php's w32api to move the mouse and click so it _is_ possible... or you could simply call a third party tool using exec();