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"
In reply to Re: Print to Browser Headers Not Working
by Corion
in thread Print to Browser Headers Not Working
by Loops303
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |