Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
I'm working on a CGI script that returns small files with some (text) info.
Is there a way to give the outputted result a different filename? (I don't want them to be called download.pl when users download them, more like $name.$extension)
I figured there must be a HTTP header for this purpose but I couldn't find it anywhere :-(
btw, I can't receive my password when I register an account at PerlMonks ... is the script b0rked or is my mail server confused?
Thanks in advance,
CBAS
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Filename in HTTP header?
by nardo (Friar) on Aug 07, 2000 at 04:01 UTC | |
|
Re: Filename in HTTP header?
by merlyn (Sage) on Aug 07, 2000 at 04:50 UTC | |
by ybiC (Prior) on Aug 07, 2000 at 05:34 UTC | |
by jjhorner (Hermit) on Aug 07, 2000 at 20:00 UTC | |
by Anonymous Monk on Aug 07, 2000 at 06:00 UTC | |
|
Re: Filename in HTTP header?
by yoz (Initiate) on Sep 23, 2003 at 17:36 UTC |