Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling

Re: (Guildenstern) Re: Getting CGI to name a file it returns

by Torgo (Beadle)
on Jul 16, 2001 at 22:12 UTC ( #97116=note: print w/replies, xml ) Need Help??

in reply to (Guildenstern) Re: Getting CGI to name a file it returns
in thread Getting CGI to name a file it returns

Aha. I was sure there was a way to do it without faking out stupid browsers... there'd be hell to pay if ever anyone actually made a good, smart browser!

Now that I know what to look for, I was searching through, I found some code dealing with Content-Disposition, and looks like they've got it covered through the Attachment parameter:
print $query->header(-type=>'application/octet-stream', -attachment=>'foo.doc');

I write the code while the master is away!

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://97116]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (3)
As of 2022-01-20 19:37 GMT
Find Nodes?
    Voting Booth?
    In 2022, my preferred method to securely store passwords is:

    Results (57 votes). Check out past polls.