running an application using perl

Eugene Tsyrklevich eugene at securityarchitects.com
Fri Jan 26 13:05:37 CST 2001


~sdpm~
On Fri, Jan 26, 2001 at 10:34:06AM -0800, Vasquez, Mike wrote:
> ~sdpm~
> Simple question but having troubles trying to find the answer.  I'm using
> CGI and I want to run an appllication when the user click on an image.
> When I do the following:
> 
> 	$q->a({-href=>'c:\Program Files\path_to_executable'},
> $q->img({src=>'/icons/webcast/buttons/blue_diamond.gif', -align=>'right'})),
> 
> it wants to download the file.  I want to be able to execute the file
> directly from the webpage.
> 
> Would I have to use javascript?


do you want to execute the file on a server or on a host?

if you want to execute it on a server just point your link to another cgi
scripts that runs your executable.

if you want to execute it on a host you either let the user download it
and than run it or you have to use something like activex, cgi just won't
cut it


cheers
~sdpm~

The posting address is: san-diego-pm-list at hfb.pm.org

List requests should be sent to: majordomo at hfb.pm.org

If you ever want to remove yourself from this mailing list,
you can send mail to <majordomo at happyfunball.pm.org> with the following
command in the body of your email message:

    unsubscribe san-diego-pm-list

If you ever need to get in contact with the owner of the list,
(if you have trouble unsubscribing, or have questions about the
list itself) send email to <owner-san-diego-pm-list at happyfunball.pm.org> .
This is the general rule for most mailing lists when you need
to contact a human.




More information about the San-Diego-pm mailing list