Gary Jennings wrote: > Hi; > > > > I get a file download prompt when I run the following script. Can > anyone let me know why? I am simply trying to print the contents of > a file. Thanks.
Displaying a download box is behavior of your browser. Your Content-Type header is botched, so maybe that has something to do with it. Or, your server may not be running the CGI script at all. Do you know that your server is properly configured? > ... > print "content type: text/html\n\n"; Missing a dash, and not RFC-compliant. print "Content-Type: text/html\r\n\r\n"; or, better: use CGI ':standard'; print header; -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>