PHP Classes

File: example.php

Recommend this page to a friend!
  Classes of Suresh Kumar   Disposable Temporary Email Validator   example.php   Download  
File: example.php
Role: Example script
Content type: text/plain
Description: Example script
Class: Disposable Temporary Email Validator
Determine if an email address is temporary
Author: By
Last change:
Date: 9 years ago
Size: 242 bytes
 

Contents

Class file image Download
<?php

// Disposable Email Address Validator


require_once('DisposableEmail.class.php');

$obj = new DisposableEmails();

$result = $obj->validate("dsk@zomg.info");

if(
$result){
    echo
"Alert !! Disposable Email!";
}else{
    echo
"OK";
}