Programming

  • 2 {{ upvoteCount | shortNum }}

    Create subdomain using php in goddady cpanel

    lovefax89 in Programming

    I am trying to make subdomain using this code. https://github.com/CpanelInc/xmlapi-php require_once('xmlapi.php.inc'); $xmlapi = new xmlapi('127.0.0.1'); $xmlapi->password_auth('root','password'); $xmlapi->set_debug(1); $xmlapi->api1_query('accountname','SubDomain','addsubdomai n',array('sub','domain.com',0,0,'/public_html/folder')); It's working when i run this code using local-host(PC) but it's ... [read more]