include("../xmlapi.php");
$ip = 'localhost';
$root_pass = 'this_is_the_password_I_use_to_loginto_cpanel';
$account = "this_is_the_username_I_use_to_loginto_cpanel";
$xmlapi = new xmlapi($ip);
$xmlapi->password_auth("root",$root_pass);
$xmlapi->set_output("json");
print $xmlapi->listparkeddomains($account, null);
I keep getting an access denied printout... am i using the right pasword or anyideas where i am going wrong?... kind regards J
$ip = 'localhost';
$root_pass = 'this_is_the_password_I_use_to_loginto_cpanel';
$account = "this_is_the_username_I_use_to_loginto_cpanel";
$xmlapi = new xmlapi($ip);
$xmlapi->password_auth("root",$root_pass);
$xmlapi->set_output("json");
print $xmlapi->listparkeddomains($account, null);
I keep getting an access denied printout... am i using the right pasword or anyideas where i am going wrong?... kind regards J