PHP code example of hostlink / dnslink-php
1. Go to this page and download the library: Download hostlink/dnslink-php library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
hostlink / dnslink-php example snippets
$dnslink=new DNSLink($key);
$dnslink->addDomain("abc.test.com","test.com");
$dnslink=new DNSLink($key);
$dnslink->addRecord("abc.test.com","hello","TXT",3600);