PHP Classes

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

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 2,179 All time: 1,794 This week: 41Up
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: 40
All time rank: 97113 in Bangladesh Bangladesh
Week rank: 214 Up3 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 (3)  
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

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:2,179
This week:0
All time:1,794
This week:41Up