Recommend this page to a friend! |
![]() ![]() |
Info | ![]() |
![]() ![]() |
Reputation | Support forum (4) | Blog | Links |
Ratings | Unique User Downloads | Download Rankings | ||||
![]() ![]() ![]() ![]() | Total: 4,633 | All time: 603 This week: 203![]() |
Version | License | PHP version | Categories | |||
whm 1.0 | GNU General Publi... | 5.0 | PHP 5, Web services, Hosting |
Description | Author | ||||||||||||||||||||||
This class can be used to manipulate Cpanel/WHM hosting accounts using the XML Web services API. |
|
********** Note ************* This software is being published under GNU GPL license that means it comes with no warranty, so use at your own risk. ********* Usage ************* - You need PHP 5.x to run this class. This class is very easy to use just take a look at test.php to understand how you should use it. You must read the "WHM XML API Document" before using this class: http://www.cpanel.net/plugins/xmlapi/index.html You can see the inputs and outputs of each function in the page above. I have implemented the functions listed below, other functions will be implemented in the next version. ******List of implemented functions****** - version() - gethostname() - listaccts () - listPkgs() - createAccount($acctDomain,$acctUser,$acctPass,$acctPackg) - accountsummary($accUser) - passwd($accUser,$pass) - suspend($acctUser,$reason) - unsuspend($acctUser) - terminate($acctUser,$keepDns=0) - changepackage($accUser,$pkg) ****** FAQ ********* Q. I'm getting warning like "Warning: SimpleXMLElement::__construct()...." what is the problem? A. You did not enter the correct "username" or "whm host" or "whm hash" in the init() function and the class has not been initilized correctly. Q.I'm getting this error while creating a new account "You do not have access to create that package (package_name)!" what is the problem A.You have entered a package name that do not exist in your whm account. ******* Contact ********* Send your comments and questions to this email address: arash.hemmat _\/_at_/\_ gmail.com Arash Hemmat Tuesday, September 25 2007 |
Version Control | Unique User Downloads | Download Rankings | |||||||||||||||
0% |
|
|
User Ratings | ||||||||||||||||||||||||||||||
|
Applications that use this package |
If you know an application of this package, send a message to the author to add a link here.
Related pages |
WHM XML API document This is the document of WHM XML API that users should read before using this class. |
Pages that reference this package |
cPanel & WHM - a rant of sorts Whilst cPanel itself is excellent, particularly with the way it gives so much power to users in a safe and intuitive way, WHM certainly is not... |
cPanel / WHM - a kind of rant Anyone who knows me will know that I’m pretty geeky; no to mention opinionated... |
cPanel / WHM - a kind of rant Anyone who knows me will know that I’m pretty geeky; no to mention opinionated. One program that frequently irritates me is Web Host Manager, that hideous pile of junk which is, effectively, the administration side of cPanel... |
cPanel WHM + PHP WHM XML API Class - |
Me gustaria hacer una pagina como esta bueno hace unos meses... yo tenía un host reseller... y quería tener un modulo para administrar mis cuentas de host... escuché mucho de esos sistemas como ClientExec, WHMCS, o el gratuito PHPCoin... y me entró esas ganas de querer hacerme el mío... |