hi guys!!
any idea how to get an php-script running in the background on a win2k server ( IIS5 )??
e.g.:
if ($foo) {
exec('cmd.exe /C "C:\\\\PHP\\\\php.exe C:\\\\www\\\\server.php"');
}
the server.php is a port-listener which should be started by the exec command!
but the funny thing is that in the taskmanager i get processes 'cmd.exe' and 'php.exe' untile there are about 20 of both and then all processes are killed!!
and the php.server script is not running!!
if i do a START ==> EXECUTE ==> cmd.exe /C "c:\php\php.exe c:\www\server.php" the server is running and listening fine!!
any ideas!?
tia&&ceeyaa.MeX