Re: Cpanel accounting library

From: Date: Wed, 26 May 2004 04:38:56 +0000
Subject: Re: Cpanel accounting library
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-186974@lists.php.net to get a copy of this message
Burhan Khalid wrote:
Jordi Canals wrote:
Hi all, Cpanel is a control panel to manage accounts for ISP's (And espcially ISP's resellers). I knnow there is some librarys to directly manage the accounts from PHP-Scripts and I got some very small and undocummented samples. I'm working on some scripts to manage the accounts directly from PHP (Scripts will be GNU/GPL licensed).
I haven't found good examples for this, but I have written a cpanel class that provides methods to query cpanel accounting information. Sample methods : userExists fetchUser listUsers setCredentials and the usual kill(), suspend(), etc. I had planned on polishing it and submitting it to PEAR, but I haven't found the time to do so. Let me know if you need any specific functionality, and I can just paste that snippet for you. I've got the script suplied by cPanel. Is not much to see there, but at least I have the parameters to call the functions and could understand a bit how it works. With that, I can start making some tests and make some samples to work.
At this moment I'm a bit busy in other projects, so I will test it as time permits... What I need is basically to automate the account creation and cancellation, nothing more, nothing less :) Don't forget to post a notice when you submit your class to PEAR ;) Regards, Jordi.

« previous php.general (#186974) next »