954,525 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

execute exe from web server

Hi,

I'm running a web server , and the web server will call the perl script to call a exe when a button is click on a web page.

eg. Click a button on web page, and the notepad will appear.

I use the system('notepad.exe') in my scripts, but it didn't work.

Please help.

-aG

aG-gal
Newbie Poster
1 post since Sep 2006
Reputation Points: 10
Solved Threads: 0
 

That's because the perl script is running on the server side, so you simply attemtped to open notepad on the server, rather than the client. If you want to open something on the client, then you need something that is actually executing on the client such as JavaScript, or ActiveX controls, etc.

masijade
Industrious Poster
Moderator
4,253 posts since Feb 2006
Reputation Points: 1,471
Solved Threads: 494
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You