3.2. USING THE CPANEL ACCOUNTING PHP MODULE
CHAPTER 3. FAQ
3.2
Using the Cpanel Accounting php module
The Cpanel Accounting php module is designed to give programs that need access to create/remove/modify
accounts an easy way to implement this in their php program.
For security reasons if you are connecting to a
remote server you should set the usessl argument to 1. You must have the curl+ssl module installed for this to
work.
Cpanel Accounting supports the following methods:
showversion Shows what version of WHM the remote server is running.
listaccts Lists currently active accounts.
listpkgs Lists packages avalible for creation.
createacct Creates a new account on the server.
killacct Terminates an account on the server.
suspend Suspends an account on the server.
unsuspend Unsuspends an account on the server.
Please refer to the online version of this help for a sample php application.
108
footer
Our partners:
PHP: Hypertext Preprocessor Best Web Hosting
Java Web Hosting
Jsp Web Hosting
Cheapest Web Hosting
Visionwebhosting.net Business web hosting division of Web
Design Plus. All rights reserved