Advertisement
electricmaster

Untitled

Aug 2nd, 2011
200
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.33 KB | None | 0 0
  1. $email = explode("@", $email);
  2. $domain = "http://".$email[1];
  3. $email = implode("@", $email);
  4. $handle = @file_get_contents($domain, null, null, 1);
  5. if(!$handle) die ("
  6.     <h1>Error</h1>
  7.     <p style='margin: 0px; padding-left: 10px; padding-bottom: 20px;'>
  8.         Please specify a valid email address (invalid domain).
  9.     </p>
  10. ".$redir);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement