File: example.php

Recommend this page to a friend!
  Classes of dileep awasthi  >  Domain and Email Validator  >  example.php  >  Download  
File: example.php
Role: Example script
Content type: text/plain
Description: This is example that how toy use class
Class: Domain and Email Validator
Validate e-mail addresses checking its domain
Author: By
Last change:
Date: 8 years ago
Size: 430 bytes


Class file image Download
/*Here is example that how can you use the class*/
include "validmail.php";
$test = new EmailValdation;
$test->email = '';
$test->checkEmailDomain() == 0) { //Check DNS of Email Address
echo 'Invalid Domain <br />';
} else {
'Valid Domain <br />';
$mydomain = '';
'IP Address of <b>'.$mydomain.'</b> is: '.$test->ipAddress($mydomain); //Check IP address


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