Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: Print to Browser Headers Not Working

by Corion (Pope)
on Feb 27, 2013 at 15:31 UTC ( #1020910=note: print w/replies, xml ) Need Help??


in reply to Print to Browser Headers Not Working

To tell the browser you want it to save the content as a file, you need the Content-Disposition header:

Content-Disposition: attachment; filename="example.csv"

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1020910]
help
Chatterbox?
[Discipulus]: morning both!
[Corion]: Hi Discipulus!
[Corion]: My pictures from the vacation are now online ;)
[Discipulus]: welcome back Aristotle!

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (7)
As of 2017-02-27 10:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?






    Results (378 votes). Check out past polls.