You have to do both, i.e. use the -attachment header and print the content. The header tells the browser to prompt with "Save [as...]", using the suggested filename as default.
In reply to Re^3: downloading file with CGI
by almut
in thread downloading file with CGI
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |