hi there, i'm very new to world of php. i was trying to upload files from client (windows xp) to the server (Linux).
I have tried using copy and also move_uploaded_file
php commands.
I works but the problem is the size of the file in clients is different from size on the server.
eg : 24 kb of doc file becomes 40 kb of doc in linux.
When i try to open that file, MS Word could not read that file. It says file is corrupted.
same goes for xls, bmp, gif files etc.
Except for txt files. It will add some spaces on the begining of the line or end of line or bottom of the page but still could be open.
can anyone help me on this ? is they any setting needs to be done ?😕