O Monks,
This is not strictly a perl question, so maybe a little OT here, but any responses would be much appreciated. I have a perl CGI script that converts certain types of Word documents to plain text: http://tetragonsf.com/cgi-bin/convert_word1.cgi . The CGI at this address has a form with a file upload interface, and when you've done your upload, it hands off that file to a second CGI script, which does the conversion and outputs the plain text. The output code in the second script is basically this:
print <<'HEADER'; Content-type: text/plain HEADER print $txt;
This all works fine, except for one strange thing. If I try to do a "Save Page As" in firefox, it creates the file, but the file only contains a single newline. Anyone have any idea why this would not work properly? Is this something I'm not understanding properly about CGI, or something weird about firefox, or ...?
TIA!
-Ben
In reply to CGI outputs plain text -- can't "Save Page As?" by bcrowell2
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |