Originally posted by algis
IIS need \r\n
Apache accept only \n
Dont ask me why...
Well done, you've discovered that different operating systems use different linebreak conventions. Microsoft's braindead "two characters per new line" dates back to when the 80s and PCs were both new and Microsoft bought the first versions of MS-DOS (you didn't think they wrote it, did you?). Everyone else was already using just "\n", but Microsoft wasn't about to go along with that.