There was an error while setting up the account. Please let support@$udomain know the above error"; exit(); } // AGORA ADD O SUBDOMAIN, USANDO O TEMA X, QUE JA VEM EM TODO CPANEL $indom = "GET /frontend/x/subdomain/doadddomain.html?domain=$subdomain&rootdomain=mydomain.com\r\n HTTP/1.0\r\nHost:$udomain\r\nAuthorization: Basic $pass\r\n\r\n"; fputs($socket2,$indom); while (!feof($socket2)) { fgets ($socket2,128); } fclose($socket2); ?>