...

View Full Version : Stopping a Windows Service



karzac
08-27-2006, 06:05 PM
Hi, i have xampp (apache) on my server, and id like to be able to stop some services (game servers runnings as a service) using php if it is possible, could some one help me out please

Regards

marek_mar
08-27-2006, 06:18 PM
<?php
exec('net stop service');
?>

Should do it. At least the commandline command "net stop" can stop services.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum