Delicious Bookmark this on Delicious Share on Facebook SlashdotSlashdot It! Digg! Digg



PHP : Function Reference : win32service Functions : win32_query_service_status

win32_query_service_status

Queries the status of a service ()
mixed win32_query_service_status ( string servicename [, string machine] )


Code Examples / Notes » win32_query_service_status

mnemotronic

If the service specified is non-existant, "win32_query_service_status" seems to return an integer, not  the expected FALSE value:
$svcStatus=win32_query_service_status ('_bogons_');
echo $svcStatus ;
prints 1060
-- This is for xampp PHP; v5.1.6


Change Language


Follow Navioo On Twitter
win32_create_service
win32_delete_service
win32_get_last_control_message
win32_query_service_status
win32_set_service_status
win32_start_service_ctrl_dispatcher
win32_start_service
win32_stop_service
eXTReMe Tracker