Jump to content

Executing a user interactive application on serverside


rathnaNrao

Recommended Posts

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

 

<?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"');

?>

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.