I am using the below script..
#!/usr/local/cpanel/3rdparty/bin/php
<?php
require '/usr/local/cpanel/Cpanel/Accounting.php.inc';
$host = "localhost";
$user = "root";
$accesshash = 'my access key is going in here1a
bd52d8db9e4bcad1011df371b66f983c
yadda yadda';
$accts = listaccts($host,$user,$accesshash,0);
print_r($accts);
$pkgs = listpkgs($host,$user,$accesshash,0);
print_r($pkgs);
?>
I save it as test3.php, and run it here:
http://webstarhosting.ca/theroot/test3.php
for some reason, all i am getting is a blank empty page.
What is the problem?!?!! I have tried changing things many times to get this to work.. no luck



LinkBack URL
About LinkBacks
Reply With Quote





