hanhao Posted May 29, 2006 Share Posted May 29, 2006 i am running xampp on my computer from apachefriends.org, it's a apache serverthis is the php script<html><head><?phpexec ('notepad');?></head></html>but when i execute the php script on my computer , notepad doesnt not runi used a process viewer and discovered that notepad is running in the background and i cannot see itdoes anyone know how NOT to make it run in the background? i wan to see the notepad window on the apache server (my computer) Quote Link to comment https://forums.phpfreaks.com/topic/10678-problem-with-exec-command-executing-the-program-in-the-background/ Share on other sites More sharing options...
Ferenc Posted May 29, 2006 Share Posted May 29, 2006 I have no idea if notepad is a service, but, go into the services manager (from the administrative tools in control panel) and be sure the service is set up to be able to interact with the desktop.If apache is logged on to the same account as you are, it should work Quote Link to comment https://forums.phpfreaks.com/topic/10678-problem-with-exec-command-executing-the-program-in-the-background/#findComment-40021 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.