Jump to content

How can i do to call checkdomain.php to whois.json for check domain .VN ?


dungbkos

Recommended Posts

Hello,

 

Please help me!

 

I have checkdomain.php file as the following:

 

<?php

$domain = isset($_GET['domain']) ? $_GET['domain']: '';
$kq = file_get_contents("https://tenten.vn/api/check/?domain=".$domain) ;
if ($kq=='1')
{
echo "false";
}
elseif($kq=='0')
{
echo file_get_contents( "https://tenten.vn/api/whois/?domain=".$domain);
}

 

With the previous version of WHMCS 7.0, I used it to check domain .VN. Domains's Vietnam haven't whois server for public which must check via other server of Registrar

But when update WHMCS 7.0, I can't check it. I've tried to do guide at http://docs.whmcs.com/WHOIS_Servers#Customising_WHOIS_Servers

 

Let's me know, how can i do?

 

Best Regards.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated