2 @_is_absent: Мы тут ни про explode ни про fgets не говорим. А говорим про CR и NL. Так вот то, что ты сказал это полный бред. Вот еще для верности одно (не мое) объяснение:
Цитата:
|
Text files are organized differently on unix or windows/DOS. On unix, the line endings are marked with a single <newline> character (nl resp. "\n"), on windows with a <return><newline> sequence (cr/nl resp "\r\n"). A decent text editor on both sides will have no problems with that, and will display a file correctly, assuming that all lines in the file use one convention consistently.
|