PHP Classes

File: example.php

Recommend this page to a friend!
  Classes of David Tavarez   Email Validator   example.php   Download  
File: example.php
Role: Example script
Content type: text/plain
Description: Example
Class: Email Validator
Validate email addresses checking DNS records
Author: By
Last change:
Date: 13 years ago
Size: 182 bytes
 

Contents

Class file image Download
<?php
require 'email_validator.php';
$email = 'email@domain.com';
if(
Email_Validador::validate($email))
    echo
"Valid email address.";
else echo
"Invalid email address.";
?>