Keep It Simple, Stupid | |
PerlMonks |
(Guildenstern) Re: Getting CGI to name a file it returnsby Guildenstern (Deacon) |
on Jul 16, 2001 at 20:58 UTC ( [id://97087]=note: print w/replies, xml ) | Need Help?? |
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
|
|