PHP Classes

b3rtCSVReader: Parse CSV files in pure PHP

Recommend this page to a friend!
  Info   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 490 All time: 5,870 This week: 385Up
Version License PHP version Categories
b3rtcsvreader 1.03BSD License5.0PHP 5, Files and Folders


This class can be used to parse CSV files.

It opens and reads a given CSV file parsing the data in its rows using pure PHP code without using fgetcsv function.

The class reads on record row at a time and returns an array with the values for all columns.

The column separator character is configurable, so it can be a tab or anything besides the default character, which is a comma.

Picture of H. Poort
Name: H. Poort <contact>
Classes: 3 packages by
Country: The Netherlands The Netherlands
Age: ???
All time rank: 115730 in The Netherlands The Netherlands
Week rank: 341 Up5 in The Netherlands The Netherlands Up

  Files folder image Files  
File Role Description
Plain text file class.b3rtCSVReader.php Class Class
Accessible without login Plain text file example.csv Data Example data
Accessible without login Plain text file example.php Example Example script

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:5,870
This week:385Up