Jump to content

php query


Recommended Posts

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

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...