when printing the file to the browser, use the following header:
print $query->header(-type=>'application/octet-stream', -attachment=>'foo.doc');
|Replies are listed 'Best First'.|
Re: Answer: How do i return a file with CGI and suggest a file name to 'save as'
by cLive ;-) (Prior) on Jul 21, 2001 at 01:45 UTC