Re[2]: [PHP] problem with header-dispotition in IE

2004-09-20 Thread adwinwijaya
Hello Marek, Monday, September 20, 2004, 6:58:46 PM, you wrote: MK> adwinwijaya wrote: >> Hi all ... >> >> >> I have script that looks like : >> >> if(file_exists($filename)){ >> $len = filesize($filename); >> //header("Content-type: attachment/pdf"); >> header('C

Re[2]: [PHP] Problem with header

2004-03-25 Thread Tom Rogers
Hi, Friday, March 26, 2004, 2:36:18 PM, you wrote: pen> On 25 Mar 2004 at 14:10, Tom Rogers wrote: >> >> Any whitespace in any file before the > to the browser forcing the headers to be sent. So make sure the first >> line of your page has from >> included pages as there may be blank lines fol

Re[2]: [PHP] Problem with header

2004-03-24 Thread Tom Rogers
Hi, TR> Any whitespace in any file before the to the browser forcing the headers to be sent. So make sure the first TR> line of your page has from TR> included pages as there may be blank lines following which are just as TR> bad. So the rule is, header() can go anywhere but before any output to