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);.
In reply to Re: CGI download filename weirdness
by ikegami
in thread CGI download filename weirdness
by JohannShunt
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |