Advertisement
Guest User

Untitled

a guest
Feb 8th, 2016
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.17 KB | None | 0 0
  1.     public function check_dmn_host(){
  2.         $info = dns_get_record('forum.dmncms.net');
  3.         if($info[0]['ip'] != '185.30.165.29'){
  4.             throw new Exception('Not allowed.');
  5.         }
  6.     }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement