scoop-doggy-d Posted May 21, 2007 Share Posted May 21, 2007 I have just installed Apache 2. 0. x. x (standard default installation) and php5 on my windows XP machine. If i create a php file like <?php echo("hello there") ?> and view this in my web browser on 127. 0. 0. 1/test. php the script works, however if I try the more complicated php below this does not work. <?php system("(start C:Progra~1VideoLANVLCvlc. exe C:media --intf=http --fullscreen) >nul"); ?> I am very much a "newby" to all this and would appreciate any help you can offer. . . thanks Quote Link to comment Share on other sites More sharing options...
Sparda Posted May 21, 2007 Share Posted May 21, 2007 The apache service must be allowed to interact with the desktop. Open the services windows (run > services.msc), find the apache service open it's properties and under the login tab enable "Allow this service to interact with the desktop" or some thing to that effect. Quote Link to comment Share on other sites More sharing options...
scoop-doggy-d Posted May 21, 2007 Author Share Posted May 21, 2007 Thanks Sparda that has worked a treat!!! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.