rathnaNrao Posted September 29, 2009 Share Posted September 29, 2009 Hello! I face a problem when I try to open a user interactive application on serverside using php file. The scenario is: When a client clicks a button, that should invoke notepad which should be user interactive on serverside. But I can execute this notepad only at background process i.e., seen in the Task Manager ->Processes. Please someone help me to figure out this.... Thank you Regards, N. Rathnavathi Quote Link to comment https://forums.phpfreaks.com/topic/175983-executing-a-user-interactive-application-on-serverside/ Share on other sites More sharing options...
RussellReal Posted September 30, 2009 Share Posted September 30, 2009 <?php $notepad = new COM('WScript.Shell'); $notepad->Run("notepad"); ?> you can also open a specific file with this: <?php $notepad = new COM('WScript.Shell'); $notepad->Run('notepad /p "whatever.txt"'); ?> Quote Link to comment https://forums.phpfreaks.com/topic/175983-executing-a-user-interactive-application-on-serverside/#findComment-927425 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.