Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Mantis 19934 - Parse CSV by CSV standard - rfc4180 #593
Use fgetcsv() to parse an import file. Instigated by discussion on another pull request #585
New class to encapsulate reading a csv file. It uses fgetcsv() to read line by line instead of loading the complete file into an array. This is to reduce the memory usage but requires the file to be parsed twice in order to count the number of rows.
Similar changes to admin/import2.php and admin/actions/import2.php to use the new class.
Some phpunit tests.
Screenshots (if appropriate):