PHP Classes

File: example.php

Recommend this page to a friend!
  Classes of Oliver Leuyim Angel  >  Parse importer  >  example.php  >  Download  
File: example.php
Role: Example script
Content type: text/plain
Description: Example for use this class
Class: Parse importer
Import email addresses into a MySQL database
Author: By
Last change:
Date: 8 years ago
Size: 1,047 bytes


Class file image Download
<form action="" method="POST" enctype="multipart/form-data">

emails:<textarea cols='35' rows='15' name='address'></textarea>
<br>gile:<input type='file' name='addresses'>
<br>Group:<input type='text' name='grupo'>

<input type="submit" value="Send!" name="submit">


if(!empty($_POST['address']) or !empty($_FILES['addresses']))

$import = new Import();

$import->grupo = $_POST["grupo"];
$import->dbtableName = "datatable";
$resultaqdo = $import->procesar();
    <fieldset style=\"border-color:green;background-color:#C0FFC0;color:black;text-decoration:blink;\">
    Pefect Uploaded... "
.count($resultaqdo)." contacto(s).
    <fieldset style=\"border-color:red;background-color:#FF9D9D;color:black;text-decoration:blink;\">
    Got stock.


For more information send a message to info at phpclasses dot org.