PHP Classes
elePHPant
Icontem

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    
Last Updated Ratings Unique User Downloads Download Rankings
2006-06-12 (10 years ago) RSS 2.0 feedStarStarStar 46%Total: 1,372 This week: 1All time: 2,736 This week: 1,047Up
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 United Kingdom

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 11KB
Downloadphpcsv-2006-06-12.tar.gz 9KB
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,372
This week:1
All time:2,736
This week:1,047Up
 User Ratings  
 
 All time
Utility:60%StarStarStarStar
Consistency:80%StarStarStarStarStar
Documentation:-
Examples:80%StarStarStarStarStar
Tests:-
Videos:-
Overall:46%StarStarStar
Rank:2371