when I run this script:
require '/usr/local/cpanel/Cpanel/Accounting.php.inc';
$host = &localhost&;
$user = &root&;
$accesshash = '&My WHM Remote Access Key&;
$accts = listaccts($host,$user,$accesshash,0);
print_r($accts);
$pkgs = listpkgs($host,$user,$accesshash,0);
print_r($pkgs);
it gives me...
Array ( [
Access Denied
] =& Array ( [0] =& ) ) Array ( [
Access Denied
] =& Array ( [0] =& ) )
I tried putting www1.azuretek.com for my host my ip and other things... I made a reseller account and tried the access key but I get the same thing... is there somethin wrong with my cpanel? or is it somethin else?



LinkBack URL
About LinkBacks

Reply With Quote
sorry I cant explain step by step... but it is very hard to do it that way





