note 96837 modified in function.win32-start-service by danbrown

From: Date: Fri, 19 Mar 2010 15:31:09 +0000
Subject: note 96837 modified in function.win32-start-service by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-167211@lists.php.net to get a copy of this message
[This] can solve 1053 issue. You just need to add " if you have spaces in your path... <?php win32_create_service(array( 'service' => 'COMPLAINTS', # the name of your service 'display' => 'Receive email complaints and direct them to the website', # description 'params' => '"' . __FILE__ . '"' . ' run', # path to the script and parameters )); ?> --was-- win32_create_service(array( 'service' => 'COMPLAINTS', # the name of your service 'display' => 'Receive email complaints and direct them to the website', # description 'params' => '"' . __FILE__ . '"' . ' run', # path to the script and parameters )); Can solve 1053 issue. You just need to add " if you have spaces in your path... http://php.net/manual/en/function.win32-start-service.php

« previous php.notes (#167211) next »