When uploading binary files, some bytes are become corrupted, but file size isnt changing, why?
Jan 27th, 2000 14:39
Manuel Lemos, Nathan Wallace, Michael Berndt, Dmitry Jo,
This is a known PHP bug that shows when a client send unexpected
headers in the upload HTTP request. See this report:
The same thing happened to me when trying to do the file upload through
a Proxy. Funnily enough, the Proxy puts his header at the start and
cuts the same amount of bytes from the end of the uploaded file. So the
file size is still correct but the actual data is rubbish. I solved
this Problem when by not using a Proxy (option direct connection to the
internet in your browser).