Location: PHPKode > projects > Neobill > NeoBill0.5.6/modules/cpanel/test.php
<?php

require '/usr/local/cpanel/Cpanel/Accounting.php.inc';
$host = "localhost";
$user = "root";
$accesshash = "5daa443429d0d83d0e110ccec4769613b9ef1b185541d71057e4f666812d3825ee7483d6519a7fca841231b78c7ea3bbf022dc49efe227ce2130133e939d0a898598f32de9d2f6c193181cf5d8cd36c6024da7a7f5fc911d363522f57c2df1d4e78ed019977d048159d7fe65f8ee3336c9af2e66354e269bc2475288ed8f53a3288d404340dad08d23c135cd53fd8dda403330e50865ec5b0e489621a091f055b8f09426e8b43c42581df76222d69d1eea14f21ed87be7d2c0b19511a1e884044b4d9d565d07b6dd1c407467996b56192c385096d94c8d45693cd4c58490f68fe0ed16d6a85427c3b99517f29b114313d75f363301e235a63479740d03db5b4b2d132ba33301a258daea9e8568524ef6bf6a7a624c52096df31ebae1fba0396ad19fda932fecd7560dc255863f60b60c3313676985beb8b4811dc713e65599d6b4e363799076cfd1f518f5db368376d1e25eac6af25b5f0ffae79045c64e8ea58966cdd03ac8e189859d963fe106df1ccb77de9c3e27c51572abb70b70f6d57cdf9e41de2def10653705740d5eb7b0023bd028c6f6e456e57981f24ca49f1fe67e230bbd32bc5b3a7834b05f60621965dad75ecd7bb9381fbedb69c97c17ef4f5812fb4b48fbbfb6e02b0d762ca5a717";

$accts = listaccts($host,$user,$accesshash,0);
print_r($accts);
$pkgs = listpkgs($host,$user,$accesshash,0);
print_r($pkgs);
?>
Return current item: Neobill