----- Original Message ----- From: "Johnson, Nicole" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, March 21, 2002 12:08 PM Subject: perl to launch a program on user's pc from cgi-generated web page
> Hello - > > I'm trying to allow end user's accessing a web page to click on a button on > that page, which in turn calls pl to snare a value from the page, then run a > command line on the user's local machine to launch an application passing it > the value. The web page is the result of an application call to perl which > does some dbi queries, and returns the results to an html::template page. > For example, > > Win32 Application -> user clicks button -> perl is called to run SQL > query -> perl generates web page back to user with query results, which > includes another user's machine name (this much is working) > > From that point what I am trying to accomplish is: > > -> web page has another form-like button to launch a remote control > program -> user clicks button -> perl runs cgi-like with the pc name > variable then goes to exec the Win32 cmd line to launch the remote control > program, appending the machine name to the command. > > I don't want another web page generated, and the remote control program > resides on the user's pc. I've already tried Win32::Process, exec, and a > non-perl html link to the executible but none have produced the desired > results. Has anyone else done something like this successfully? > For me, at least, the description of what you want to do is a bit fuzzy. Do you have example code of what you are doing to achieve your goal? Maybe that would help the list better understand what you are trying to accomplish. ego Edward G. Orton, GWN Consultants Inc. Phone: 613-764-3186, Fax: 613-764-1721 email: [EMAIL PROTECTED] _______________________________________________ Perl-Win32-Web mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs