Why is it when I'm using header(Content-Disposition:attachment; filename=$filename) and the end of my script before putting data into a file that it wants to execute this statement first????????
Please help