I am running fgetcsv to grab the info in a csv file.
My files is about 300,000 lines.
My script keeps getting to about 50,000 - 60,000 and stops.
What is causing this?
Is there a way to pick up where the script stops. As in an offset?
What are you specifying as the second parameter (length)?
try using this as the second argument to fgetcsv filesize($uploadFile)+1
also check for a situation like [delimiter]"some text"some more text"even more text"[delimiter] by default fgetcsv uses quotes as string enclosures and does not take this situation into account this gives a column count error and processing stops also check for how long php.ini is set for max execution time etc...