I found out that it has to be a security setting somewhere, because I can use php command line, from the start run.
C:\PHP\php.exe C\DIR\test.php
and the exec() works perfect, however if I put the test.php in the
wwwroot and try the php command line:
C:\PHP\php.exe C:\wwwroot\test.php
the same function does not work.
We have a sybase DB that recieves about 200,000 records a month, and I was going to use this script to stop the service that puts the records into the db, then cleanse the data and move it to mysql for reporting, then start the service agian.
This is something I can have run once an hour so the php command line will fix my problem.... I would still like to figure out why I can run cmd's from wwwroot with the exception of net stop/start?😕
Thank you for all your help!
Chris