Login   Register  
PHP Classes
elePHPant
Icontem

File: index.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Morteza Ghorbani  >  Email Parser  >  index.php  >  Download  
File: index.php
Role: Example script
Content type: text/plain
Description: Email Parser index
Class: Email Parser
Extract e-mail addresses from HTML pages
Author: By
Last change: class update
Date: 2008-05-04 01:13
Size: 1,770 bytes
 

Contents

Class file image Download
<?php

//////////////////////////////////////////////////////////////////////////////////////////
// CLASS NAME      :  EMAIL PARSER                                                      //
// FILE NAME       :  INDEX.PHP                                                            //
// LANGUAGE        :  PHP                                                               //
// LANGUAGE VERSION: 5.0                                                                //
// AUTHOR          :  Mr. Morteza Ghorbani                                              //
// EMAIL           :  Morteza@delsystem.ir     | sir_computer@yahoo.com                   //
// VERSION         :  2.4                                                               //
// DATE            :  03/05/2008                                                        //
// LICENSE         :  GNU/GPL                                                           //
//////////////////////////////////////////////////////////////////////////////////////////
// What the class does:                                                                 //
//////////////////////////////////////////////////////////////////////////////////////////
// * Parse String Email Addresses from sequential web pages                             //
// * Store parsed emails to a file or screen                                            //
//////////////////////////////////////////////////////////////////////////////////////////

require("email_parser.class.php");
$parser = new parser();
$parser->setPassword("hello");   // set your favorite password to restrict other's access!
    
$parser->showForm();        // show Email Parser Form
    
$parser->parseEmails();      // Parse Emails. Don't worry it will be processed if form submitted ;)

?>