PHP Classes
elePHPant
Icontem

File Importer: Import data from CSV files into a MySQL database

Recommend this page to a friend!
  Info   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2008-11-28 (7 years ago) RSS 2.0 feedNot enough user ratingsTotal: 2,059 This week: 2All time: 1,839 This week: 619Up
Version License PHP version Categories
fileimporter 1.0.0BSD License5.0PHP 5, Databases, Files and Folders
Description Author

This clss can be used to import data from CSV files into a MySQL database.

It can open a CSV file and read its data to insert in a given MySQL database table.

The class supports both tab and comma separated CSV files.

Picture of Md. Kausar Alam
Name: Md. Kausar Alam <contact>
Classes: 3 packages by
Country: Bangladesh Bangladesh
Age: 32
All time rank: 97015 in Bangladesh Bangladesh
Week rank: 414 Up9 in Bangladesh Bangladesh Up

Details
*************************************************************************
*									*
*			 FileImporter class				*
*		     Author : Md. Kausar Alam				*
*		   Email  : kausar_ss2003@yahoo.com			*
*									*
*									*
*									*
*************************************************************************

CLASS NAME
===========
fileImporter
	Import file into database table 

	
DESCRIPTION
===========
	This class used to import txt file into database table.When any text file is imported successfully this means file is uploaded into a temp dir.Then open
the text file from temp dir and read the contents from this file.Insert all datas into a table.After inserting all
datas of text file into table , text file will be removed from temp dir.


REQUIREMENTS:
=============
	1. PHP5
	2. only txt file is permitted to import
	3. support tab and comma delimiter

INSTALL
=======
sample.php is an example file.let can be checked how install this class.
  Files folder image Files  
File Role Description
Plain text file fileImporter.class.php Class fileImporter class used to import text file into database table
Accessible without login Plain text file readme.txt Doc. documents are explained this file
Accessible without login Plain text file sample.php Example example file of fileImporter class

 Version Control Unique User Downloads Download Rankings  
 0%
Total:2,059
This week:2
All time:1,839
This week:619Up