in reply to CGI download filename weirdness
It works for me, for $pdfid = "foo". What browser are you using?
.pdf aren't text files, so you don't want them mangled. Add binmode(PDF_FILE);.
.pdf aren't text files, so trying to read lines makes no sense. Add local $/ = \(64*1024);.
|
|---|