|
|
|
Clear questions and runnable code get the best and fastest answer |
|
| PerlMonks |
(Guildenstern) Re: Getting CGI to name a file it returnsby Guildenstern (Deacon) |
| on Jul 16, 2001 at 16:58 UTC ( [id://97087]=note: print w/replies, xml ) | Need Help?? |
This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.
Another way to do it is to use the Content-Disposition header. Set the mimetype to "application/octet-stream", then add a header like this: "Content-Disposition: inline;filename=$filename\n". Be sure to set the "Content-Length" header as well. Guildenstern Negaterd character class uber alles!
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||