Page 1 of 1

NMS: Importing from CSV and the Mac line ending problem. A solution

Posted: Wed Jan 28, 2009 3:35 am
by tinhat
I've implemented NMS on the www.edwardsmichael.com.au website and ran into a problem with importing users from CSV when the file is a CSV with mac line endings.

I modified the file action.do_import_users.php and added this line at the beginning of the code
[php]
ini_set('auto_detect_line_endings', true);
[/php]