in reply to Getting CGI to name a file it returns
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!
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!
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: (Guildenstern) Re: Getting CGI to name a file it returns
by Torgo (Beadle) on Jul 16, 2001 at 22:12 UTC | |
Re: (Guildenstern) Re: Getting CGI to name a file it returns
by one4k4 (Hermit) on Jul 17, 2001 at 16:31 UTC |
In Section
Seekers of Perl Wisdom