[PHP] Re: Different size of file on server and on output

2007-10-22 Thread Colin Guthrie
M. Sokolewicz wrote: > Pavel Janda wrote: >> Hello to everybody, >> >> I have this problem with downloading files via PHP. For illustration - >> I am using this fragment of code: >> >> > >> header("Content-type: $contenttype; name=\"$outputfilename\""); >> header("Content-disposition: form-

[PHP] Re: Different size of file on server and on output

2007-10-22 Thread Pavel Janda
Thanks a lot. However there wasn't any visible whitespace in code, leaving of ?> helped... I haven't known, that it is not required :o). Thank you very much again! Pavel M. Sokolewicz napsal(a): Pavel Janda wrote: Hello to everybody, I have this problem with downloading files via PHP. For il

[PHP] Re: Different size of file on server and on output

2007-10-22 Thread M. Sokolewicz
Pavel Janda wrote: Hello to everybody, I have this problem with downloading files via PHP. For illustration - I am using this fragment of code: The problem is, that the file on server has 16857 bytes and saved file has 16858. In another case downloaded file has everytime 1 byte more than