provato ad usare i bachslash anzichè gli slash?
exec('wmplayer /prefetch:6 /open "C:\musica\miofile.wma"');
sennò loeggi qui... letto nei commenti su php.net
codice:
WindowsPHPUser
11-Jul-2007 08:42
I had trouble getting the program execution functions to work on a Windows server, even though it worked on my test machine. Here is something that helped:
First, set the security permissions on the exe to allow USR_MachineName to execute the program.
Then I changed the 'Log on as Batch Job' local security policy to include the IUSR account (and rebooted). After I made that change, the programs were allowed to run.
I also limited the permissions for the IUSR account to read and execute only.