Results 1 to 2 of 2
Feb 16, 2007, 12:39 #1
[win32] I want exec() to show window
I'm having a little bit of trouble trying to launch an application in Windows from exec(). Heres the code I'm using
exec('"C:\Program Files\Windows Media Player\wmplayer.exe" "Z:\media\filename.avi" /fullscreen');
The "server" is just my desktop with WinXP,PHP 5.2 & Apache 2.2. I have no experience with Apache/PHP on windows so sorry if this is a dumb question.
I've tried exec(), shell_exec(), system() and I tried exec'ing the command and a batch file with the command in it and still no luck.
Any ideas?Need a large site moved (5 GB +)? I can help, PM me for pricing.
[PR 4] Large File Hosting Site looking for link trades
Feb 17, 2007, 06:51 #2
- Join Date
- Sep 2005
- 0 Post(s)
- 0 Thread(s)
use addslashes to escape backslash.. it may help