Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
I want to allow users to download various items I have stored in a database. Some of these items are plain text that I want to allow a user to download as a text file. Others are blobs.
How can I allow a user to do this. Can I just have the Perl program print to STDOUT or do I need to print out Content type headers.
Another question I have is how I can make the default item that goes into the save as box be something other than the .pl file.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Downloading things from a database
by Russ (Deacon) on Aug 08, 2000 at 06:49 UTC | |
(bbq) Use Content-Disposition! Re: Downloading things from a database
by BBQ (Curate) on Aug 09, 2000 at 00:17 UTC | |
Re: Downloading things from a database
by eak (Monk) on Aug 08, 2000 at 08:47 UTC | |
by merlyn (Sage) on Aug 08, 2000 at 09:42 UTC | |
by Fastolfe (Vicar) on Aug 09, 2000 at 00:19 UTC | |
by Anonymous Monk on Jul 22, 2004 at 12:29 UTC | |
by upallnight (Sexton) on Jun 01, 2008 at 06:32 UTC |
Back to
Seekers of Perl Wisdom