You might want to look at how sourceforge.net handles things when you go to
download. I don't know the mechanism, but it's the behavior you want.
Paul
3:23pm, Denzil Kruse wrote:
--- Bob Showalter <[EMAIL PROTECTED]>
wrote:
<snip>
use CGI qw(:standard);
open FILE, ...blah blah...
print header('application/octet-stream');
print while <FILE>;
Thanks for the help Bob! Is there another way besides
the content-disposition to specify an attachment or
filename? I was trying to find a way to get a file
download box to come up to ask where to save the file
on their local computer. With just the above, it will
display it in the browser, and my users will just
go...huh?
Denzil
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>
------------------------------------------------------
I recently heard that scientists have isolated the gene
that makes scientists want to isolate genes.
------------------------------------------------------
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>