vendredi 31 octobre 2014

Adding Addon domain in an account

Hi I've been having problems on adding addon domain in an account using the DA APi.



I can't get it working here's my code:





$sub = strstr($domain, '.', true) . '.' . $main_domain;

$api->server_connect();

$api->set_login($username, $password);

$api->set_method('POST');

$api->query('/CMD_SUBDOMAIN', array('action' => 'create', 'domain' => $domain, 'subdomain' => $sub));

$result = $this->fetch_body();





can someone explain why is it not working and help me how to make it work?





Adding Addon domain in an account

Aucun commentaire:

Enregistrer un commentaire