The header shortcut by default spits out "Content-type: text/plain"No, actually "print header" in CGI.pm spits out "Content-type: text/html." You can get CGI to produce text/plain if you want (or any other MIME type for that matter) but text/html is the default.
Gary Blackburn
Trained Killer
In reply to Re: Re: Re: CGI Trying to save file to computer rather then display it in browser
by Trimbach
in thread CGI Trying to save file to computer rather then display it in browser
by stuffy
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |