php代码
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>Sample</title> </head> <body> <?php //www.codepearl.com include_once 'class.verifyEmail.php'; $email = 'verify@codepearl.com'; $vmail = new verifyEmail(); if ($vmail->check($email)) { echo 'email <' . $email . '> exist!'; } elseif ($vmail->isValid($email)) { echo 'email <' . $email . '> valid, but not exist!'; } else { echo 'email <' . $email . '> not valid and not exist!'; } ?> </body> </html>