Recommend this page to a friend! |
Download |
Info | Example | Screenshots | Files | Install with Composer | Download | Reputation | Support forum | Blog | Links |
Ratings | Unique User Downloads | Download Rankings | ||||
Not enough user ratings | Total: 239 | All time: 8,048 This week: 140 |
Version | License | PHP version | Categories | |||
importerfp2db 0.5 | Freely Distributable | 5.0 | Email, PHP 5, Databases |
Description | Author | ||||||||
This class can import email addresses into a MySQL database. |
|
What is the best PHP class to extract recipients from CSV file?
I need to parse a .csv emails address list and send a message
<form action="" method="POST" enctype="multipart/form-data">
|
This class was developed for a project then is released to use it at freeway. Feel free to use it and upgrade it. Any comment to: oliver.angel@dimworks.org Author: Oliver Leuyim Angel www.dimworks.org
PUBLIC PROPERTIES
public $grupo; ///This establish the group is going to be inserted the emails that are going to be extracted public $error_end; /// This is for save the error_log not for to show it
PRIVATE PROPERTIES
private $file; //To store the global $_FILES private $data; private $correos; //For the mixed string before the export private $lista_correos; //for the exported mail addres private $error = array(); // Error log array
Public methods
public identify() // to identify the globals public connectDatabase() // for conecct to the db public procesar() // to ejecute and parse public show_errors() // to show the errors
* Private methods
private extract_email_address($string) // the extract function
steps on the process
1) get all globals and connect to db. 2) mix all content of the globals $_FILES and $_POST in a string 3) extract all mails address of the string 4) store all mail address on a data base.
In case of error show errors.
Screenshots (1) | ||
Files (5) |
File | Role | Description |
---|---|---|
class.import.php | Class | The class file, where have all functions |
db.sql | Data | the table of the class |
example.php | Example | Example for use this class |
Readme | Doc. | Information of the 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 |
Version Control | Unique User Downloads | Download Rankings | |||||||||||||||
0% |
|
|
User Comments (1) | |||||
|
Applications that use this package |
A module for dim works cms to send mails campaigns. |
If you know an application of this package, send a message to the author to add a link here.
Related pages |
A solution on cloud. |