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).

After STFW, I've not found any good documentation on it, just the short samples on http://www.cpanel.net/remoteaccess-php.html

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.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to