auto_detect_line_endings

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
Paonza
Forum Newbie
Posts: 1
Joined: Fri Dec 16, 2005 10:16 am

auto_detect_line_endings

Post 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
User avatar
hawleyjr
BeerMod
Posts: 2170
Joined: Tue Jan 13, 2004 4:58 pm
Location: Jax FL & Spokane WA USA

Post by hawleyjr »

Are you trying to loop through each line in a file? If so, get the string length of each row.
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

auto detect line endings is an ini setting...

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