Quote:
Originally posted by Ragnarak
i know php files should be uploaded in ascii and images in binary but i was wondering what exactly they are and what happens if say images are uploaded in ascii form.
|
In ASCII mode, line endings such as \n are converted to "system" line endings.
E.g. going from unix ftp server to windows machine -> \n is changed to \r\n
or going from windows machine to unix machine -> \r\n is converted to \n
Or not. I'm speculating, thats what appears to happen to me.