PHP Classes

phpCSV: Read data from CSV files into arrays

Recommend this page to a friend!
  Info   View files View files (7)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 46%Total: 1,380 All time: 2,812 This week: 263Up
Version License Categories
phpcsv 1.0.0GNU General Publi...Files and Folders
Description Author

This class can be used to read and parse Comma Separated Values (CSV) files.

It can parse each CSV file line and store the retrieved data in a bi-dimensional array class variable.

The separator character and line length limit values are configurable.

Picture of Mike Leigh
Name: Mike Leigh <contact>
Classes: 7 packages by
Country: United Kingdom
Age: 45
All time rank: 19412 in United Kingdom
Week rank: 260 Down8 in United Kingdom Up

Details
#==============================================================================# +--------------------------------+ | phpCSV - CSV Abstraction Class | +--------------------------------+ Author : Mike Leigh Email : mike@mikeleigh.com Website : http://www.mikeleigh.com/scripts/phpcsv Support : http://www.mikeleigh.com/forum Licence : GNU GPL - see LICENCE file Version : 0.3 phpCSV allows data to be read from CSV files into arrays. This class can be used to read and parse Comma Separated Values (CSV) files. It can parse each CSV file line and store the retrieved data in a bi-dimensional array class variable. The separator character and line length limit values are configurable. Incorporating phpCSV into your application is as simple as including the class file like so: include('path/to/csv.class.php'); For installation instructions see the INSTALL file. For license details see the LICENSE file. For development history see the CHANGELOG file. #==============================================================================#
  Files folder image Files  
File Role Description
Accessible without login Plain text file CHANGELOG Doc. Change Log
Plain text file csv.class.php Class phpCSV Main Class
Accessible without login Plain text file test.csv.class.php Example Example script
Accessible without login Plain text file test.csv.class.csv Data Sample data file
Accessible without login Plain text file LICENCE Lic. License File
Accessible without login Plain text file INSTALL Doc. Installation
Accessible without login Plain text file README Doc. Readme

Downloadphpcsv-2006-06-12.zip
Downloadphpcsv-2006-06-12.tar.gz 10KB
Install with ComposerInstall with Composer
Needed packages  
Class DownloadWhy it is needed Dependency
phpFile Download .zip .tar.gz Used to access the filesystem Required
 Version Control Reuses Unique User Downloads Download Rankings  
 0%1
Total:1,380
This week:0
All time:2,812
This week:263Up
 User Ratings  
 
 All time
Utility:60%StarStarStarStar
Consistency:80%StarStarStarStarStar
Documentation:-
Examples:80%StarStarStarStarStar
Tests:-
Videos:-
Overall:46%StarStarStar
Rank:2696