Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public function check_dmn_host(){
- $info = dns_get_record('forum.dmncms.net');
- if($info[0]['ip'] != '185.30.165.29'){
- throw new Exception('Not allowed.');
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement