Subject: | Works as described, minor edits, 5/5... |
Summary: | Package rating comment |
Messages: | 2 |
Author: | Justin |
Date: | 2011-07-26 09:01:01 |
Update: | 2011-09-02 05:27:18 |
|
|
|
Justin rated this package as follows:
Utility: | Good |
Consistency: | Good |
Examples: | Good |
|
Justin - 2011-07-26 09:01:01
Works as described, minor edits, 5/5 Stars !!
If you're having a MySQL connection denied, modify the CLASS with:
$sql = "LOAD DATA LOCAL INFILE '".@mysql_escape_string($this->file_name).
If you want to name the created TABLE, edit the importer php,
ADD:
$databasetable = "my_table";
//connect to database
AND ADD:
$csv->file_name = $HTTP_POST_FILES['file_source']['tmp_name'];
$csv->table_name = $databasetable;
Brad Davis - 2011-09-02 05:27:18 - In reply to message 1 from Justin
THANK YOU! Needed this step to make the script work!
|