Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

EXE file executed on client, not server....

Status
Not open for further replies.

Ito2233

MIS
Sep 2, 2003
77
US
I have created an executable file from a script written in PERL. I have put it in the SCRIPTS directory of INETPUB, as instructed by some websites. The SCRIPTS directory is configured to allow for the execution of EXE files. But whenever a user clicks on the submit button of a form (which is supposed to trigger the execution of the file), the user gets a prompt for downloading the file. Ie, the file is not being executed on the server.

I'm a newbie to PERL/CGI, and I would like to understand what it is I'm doing wrong.

Thanks
 
just create a little script wich contains:

#!/usr/bin/perl -w
use strict;
print "Content-type: text/html\n\n";
print "test";

and see if that works. If it does then it is a script problem and not a server problem

InDenial

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top