title: Block tempmail in PHP
body: <p>I would like to block temp mail when registering on my site. I try this:</p>
  
  <pre><code>$email = htmlspecialchars($_POST['email']);
  
      $tempmail = array("@4tmail.com", "@mail3.top", "@mail3plus.net", "@mailfile.org", "@themail3.net", "@mail3tech.com", "@tmailer.org", "@mail3x.net", "@tmails.top", "@tmail2.com");
  
      $iftmp = strpos($email, $tempmail);
      if ($iftmp == true){
          die("Bad Email");
      }
  </code></pre>
  
  <p>but don't work </p>