Bitcoin Forum
July 14, 2024, 03:41:21 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Code to block mail domain ?  (Read 285 times)
FaucetRank.com (OP)
Hero Member
*****
Offline Offline

Activity: 868
Merit: 500



View Profile WWW
October 11, 2016, 03:29:39 AM
 #1

I want a code to block email domain for xapo faucet, for e.g. I don't want to allow mail.ru , yandex.ru emails or other disposable emails. I remember someone shared such code for xapo faucet but in which thread forgot.
If anyone know about that thread please post link here.

  ████
█ ████
█ ████
█ ████
█ ████ █
█ ████ █
█ ████ █
█ ████ █
█ ████ █
  ████ █
  ████ █
  ████ █
  ████
  ████
█ ████
█ ████
█ ████
█ ████ █
█ ████ █
█ ████ █
█ ████ █
█ ████ █
  ████ █
  ████ █
  ████ █
  ████
  .SCAMMERS.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
  .EXPOSED.
.
▄▄▄▄▄▄▄▄
  ████
█ ████
█ ████
█ ████
█ ████ █
█ ████ █
█ ████ █
█ ████ █
█ ████ █
  ████ █
  ████ █
  ████ █
  ████
ricku
Full Member
***
Offline Offline

Activity: 210
Merit: 100


★YoBit.Net★ 350+ Coins Exchange & Dice


View Profile
October 11, 2016, 09:17:52 AM
 #2

I just checked where i pasted the link you are asking about but can see it however all hope are not lost because you can get someone to do this for you at cheaper price when you check the service section here.

marlboroza
Legendary
*
Offline Offline

Activity: 1932
Merit: 2270


View Profile
October 11, 2016, 09:55:19 AM
 #3

I want a code to block email domain for xapo faucet, for e.g. I don't want to allow mail.ru , yandex.ru emails or other disposable emails. I remember someone shared such code for xapo faucet but in which thread forgot.
If anyone know about that thread please post link here.

Ill go little off topic here and ask you what is wrong with yandex.ru and why do you want to block it?
ricku
Full Member
***
Offline Offline

Activity: 210
Merit: 100


★YoBit.Net★ 350+ Coins Exchange & Dice


View Profile
October 11, 2016, 10:00:09 AM
 #4

I want a code to block email domain for xapo faucet, for e.g. I don't want to allow mail.ru , yandex.ru emails or other disposable emails. I remember someone shared such code for xapo faucet but in which thread forgot.
If anyone know about that thread please post link here.

Ill go little off topic here and ask you what is wrong with yandex.ru and why do you want to block it?

Yandex.ru might not be among but the op is against disposable emails where people can create in mass number and use it to cheat his website.

felicita
Legendary
*
Offline Offline

Activity: 1582
Merit: 1031



View Profile
October 11, 2016, 10:33:45 AM
 #5

i think this code was from me when i helpef Gifted but i dont know where i posted it .
But you can do it easy with this funktion Wink


function is_bad_mail($mail) {
      $bad_mails = array("mail.ru","yandex.ru");
      foreach ($bad_isp as $arr) {
         if (preg_match("/".$arr."/i",$mail) == true) {
            return true;
         }
      }
                return false;
}

its psoydocode just tipped here not tested !
if you need help contact me !

kind regards
FaucetRank.com (OP)
Hero Member
*****
Offline Offline

Activity: 868
Merit: 500



View Profile WWW
October 11, 2016, 11:00:40 AM
 #6

i think this code was from me when i helpef Gifted but i dont know where i posted it .
But you can do it easy with this funktion Wink


function is_bad_mail($mail) {
      $bad_mails = array("mail.ru","yandex.ru");
      foreach ($bad_isp as $arr) {
         if (preg_match("/".$arr."/i",$mail) == true) {
            return true;
         }
      }
                return false;
}

its psoydocode just tipped here not tested !
if you need help contact me !

kind regards

I sent you a pm I don't know how to implement it within xapo script.

  ████
█ ████
█ ████
█ ████
█ ████ █
█ ████ █
█ ████ █
█ ████ █
█ ████ █
  ████ █
  ████ █
  ████ █
  ████
  ████
█ ████
█ ████
█ ████
█ ████ █
█ ████ █
█ ████ █
█ ████ █
█ ████ █
  ████ █
  ████ █
  ████ █
  ████
  .SCAMMERS.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
  .EXPOSED.
.
▄▄▄▄▄▄▄▄
  ████
█ ████
█ ████
█ ████
█ ████ █
█ ████ █
█ ████ █
█ ████ █
█ ████ █
  ████ █
  ████ █
  ████ █
  ████
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!