5 Sep
2005
5 Sep
'05
3:48 a.m.
Joshua Ferraro <jmf@liblime.com> wrote:
1. The file that's exported has an extension of .pl ... this means that most OSes can't determine that it's a PDF by default. What's the best way to export it as a useful filename and extension?
The CGI needs to generate a header like: Content-Disposition: attachment; filename="test.pdf" Most browsers and download tools will then Do The Right Thing. Hope that helps, -- MJ Ray (slef), K. Lynn, England, email see http://mjr.towers.org.uk/