This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Reads a CSV file in chunks of 10 lines at a time | |
and returns them in an array of objects for processing. | |
Assumes the first line of the CSV file has headings | |
that will be used as the object name for the item you are | |
processing. i.e. the heading is CurrentURL then refer to | |
$item->CurrentURL |