0

I have a CSV file with 35k records. If i pull all data to memory it will break the page. How do i handle such cases. I need to reach each line and read particular column data and do some validation and if it fails it will written to a file.

Hacker
  • 7,798
  • 19
  • 84
  • 154
  • http://stackoverflow.com/questions/17520093/read-large-data-from-csv-file-in-php this may helpful for you – gvgvgvijayan Mar 19 '15 at 05:46
  • I may be wrong (and perhaps this function doesn't even exist in PHP), but I believe this is what `Seek` can be used for. It will allow you to start reading the file from any point you want. – Vladimir Mar 19 '15 at 05:46

0 Answers0