PHP Classes

Error

Recommend this page to a friend!

      3SS CPanel  >  All threads  >  Error  >  (Un) Subscribe thread alerts  
Subject:Error
Summary:Help me
Messages:3
Author:sananen
Date:2006-03-04 13:45:09
Update:2006-03-08 06:36:14
 

  1. Error   Reply   Report abuse  
Picture of sananen sananen - 2006-03-04 13:45:09
i use the program. and show the error on the screen.
what is problem in my/your code?
[/usr/local/cpanel/Cpanel/Accounting.php.inc] Does not exist.

code:
--------------------------------------
?php
require("threesscpanel.class.inc");

$user = "abcdefgh"; // whm user name
$hash = '85709752df67fecb310d018fa7169565
eefc52f7329581d601ca526b97f08bd3
37cbbef3d83f62c61f060c5cd5a024fd
d30ef823053dab5280a8afa12a5023b2
50cf9b8452cf9b31761adcbf82c602b9
833bdd62e027ca583c2947bf902918db
0bb37577ba275af85fb4119271b31deb
97726a8eb25bc88421a4adb974231375
5a675248bc5f113e24aed9d54e9ee350
6f59576cf5f393cd6a999f5e231b2305
1e671ea0c1016ddf204325b77e991632
ddf8026e64c1a99d8bda49f6d1655912
7c0f6df6a53137c519781b4e7189bd53
f05fda1169e5c41ad38218b063afa7cf
9834bb114a57e09c86c729687146c799
3a4ff82997222a17fc514aaa869d0266
9b1fa11d4c2c821712a1771ddc94cf95
c6cae65cdc6bb2c6e0670f175a4f97a0
8f51e63e2271322e4c1b80f77a48a164
07614a34176f837b195e5dc941e99d47
814e80008456a00d33f80dab11fc4cd9
92efc1821ffaa11885e29d0370e9e6aa
162c7ae7ebab6d7a5b9103b101714b58
26b9a31835fc20279c834d2c3742f606
1e5fbccaf50bd8b399a28f9d1df887cb
da1f17d2045e5d337f12c77ccc9d4d9c
0bd267071f75340e97af0a8533f0a860
67193e41d1b75bf3367b8633dbedcf09
daabba26775d42467b544e0c9a89047e
';

$cp = new threessCPANEL($user,$hash);
// Uncomment to use
//$cp->createAccount("test.mysitename.com","(whm user name)","(whm passwod)","(i don't know)");
//$cp->suspendAccount("account");
//$cp->killAccount("account");

echo implode("<br />",$cp->version);
echo implode("<br />",$cp->accounts);
echo implode("<br />",$cp->packages);
echo implode("<br />",$cp->domains);
?>

------

thank you for helps

  2. Re: Error   Reply   Report abuse  
Picture of Brant Messenger Brant Messenger - 2006-03-04 20:32:14 - In reply to message 1 from sananen
This is a matter to take up with your reseller account provider, they need to change the php settings to enable access to this file.

  3. Re: Error   Reply   Report abuse  
Picture of sananen sananen - 2006-03-08 06:36:14 - In reply to message 2 from Brant Messenger
how i can change my php setting,


 
For more information send a message to info at phpclasses dot org.