execute exe from web server

Please support our Perl advertiser: Programming Forums - DaniWeb Sister Site
Reply

Join Date: Sep 2006
Posts: 1
Reputation: aG-gal is an unknown quantity at this point 
Solved Threads: 0
aG-gal aG-gal is offline Offline
Newbie Poster

execute exe from web server

 
0
  #1
Sep 27th, 2006
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
Reply With Quote Quick reply to this message  
Join Date: Feb 2006
Posts: 2,467
Reputation: masijade has much to be proud of masijade has much to be proud of masijade has much to be proud of masijade has much to be proud of masijade has much to be proud of masijade has much to be proud of masijade has much to be proud of masijade has much to be proud of masijade has much to be proud of 
Solved Threads: 267
Moderator
masijade's Avatar
masijade masijade is offline Offline
Nearly a Posting Maven

Re: execute exe from web server

 
1
  #2
Sep 27th, 2006
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.
Java Programmer and Sun Systems Administrator

----------------------------------------------

Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it.
--Brian Kernighan
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the Perl Forum
Thread Tools Search this Thread



Tag cloud for Perl
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC