(PHP 4, PHP 5). fgetcsv — Gets line from file pointer and parse for CSV fields ... Example #1 Read and print the entire contents of a CSV file.
php.net