Page 1 of 1

auto_detect_line_endings

Posted: Fri Dec 16, 2005 10:20 am
by Paonza
Hi ALL!
How I can setup this value on runtime?
I tried with $auto_detect_line_endings = true;
before file() call, but it doesn't work...

someone can halp me?

thx
Fabio

Posted: Fri Dec 16, 2005 10:29 am
by hawleyjr
Are you trying to loop through each line in a file? If so, get the string length of each row.

Posted: Fri Dec 16, 2005 6:10 pm
by feyd
auto detect line endings is an ini setting...

http://php.net/ref.filesystem#ini.auto- ... ne-endings