Re: [PHP] filedownload and output buffering

2006-12-15 Thread Richard Lynch
An HTTP response can only do ONE of these two things: output HTML start a download If you see sites such as SourceForge that *seem* to do this in one page, and analyze their HTML and their headers, you will find that they are using a META refresh tag or some JavaScript to cause the original HTML t

[PHP] filedownload and output buffering

2006-12-12 Thread viraj
hi all, i have a small script which shows some information inside a html table and then pushes a file to save on to users desktop. but with the following code it download the file and stay without outputting the html table to browser. i tried with out put buffering functions, but still no luck (