The file name is dgConfigAdmin.cgi.  I have explicitly configured the server
to execute .cgi as .pl scripts.  In fact, this script works properly and the
error does not occur until the script calls itself to save some settings to
a database.  When I open or save the file that is being downloaded, it is
the HTML that is supposed to display in the next step of the script.

I've tried to put an implicit > print qq[Content-Type: text/html\n\n]; just
prior to the "here document" that displays the HTML (that gets downloaded),
but that does not help.

-----Original Message-----
From: Charles K. Clarkson [mailto:[EMAIL PROTECTED]
Sent: Saturday, September 13, 2003 7:17 PM
To: 'Ron Goral'; 'Perl Beginners'
Subject: RE: Browser wants to do a file download on a CGI script


Ron Goral <[EMAIL PROTECTED]> wrote:
:
: Can anyone please tell me why my browser wants to do
: a file download on a CGI script?

    For some reason, your server doesn't know that
it is supposed to execute the file. What is the file
name? What extension is on the file? Where is it
located? Do other cgi scripts run okay?


HTH,

Charles K. Clarkson
--
Head Bottle Washer,
Clarkson Energy Homes, Inc.
Mobile Home Specialists
254 968-8328



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to