Recommend this page to a friend! |
![]() ![]() |
Info | ![]() |
![]() |
![]() ![]() |
Reputation | Support forum (2) | Blog | Links |
Ratings | Unique User Downloads | Download Rankings | ||||
![]() ![]() | Total: 2,814 This week: 1 | All time: 1,335 This week: 286![]() |
Version | License | Categories | ||||
phpdirectadmin 1.0.0 | GNU Lesser Genera... | PHP 5, Systems administration, Web se..., H... |
Description | Author | ||||||||||||||||||||||
This class can be used to manage hosting accounts controlled by the DirectAdmin Web panel. |
|
phpDirectAdmin Class This class can be used to communicate with DirectAdmin (http://www.directadmin.com) Hosting Panel. The class includes emails management, creating and modifying account, disk and bandwidth usage and some more. The function uses cURL lib for communication. Function inside: ---------------- The functions that can be used are: getStats() - get stats array (diskspace, bandwidth, emails, ftp, databases) - both used and max createUserAccount() - create a new directadmin account modifyUserAccountPackage() - modify account to auto package customizeUserAccountPackage() - customize account package createDatabase - creates a new mysql database createBackup() - creates a account backup chmodBackup() - chmod a account backup for downloading getBackupsList() - returns backups array list getEmailList() - returns email accounts array list getEmail() - returns email account information createEmail() - creates new email account updateEmail() - updates emailbox password deleteEmail() - deletes email account Cookies: -------- The class uses cookies to store the username and password. These files should not be accessed by htdocs or public html. The cookies files don't get deleted, so if you change the username and password in the scripts, try deleting the cookies files. Error Reporting: ---------------- There is no error reporting in this class. If someone can help with that, I will gladly add it to the function... |
Screenshots | ||
![]() |
File | Role | Description |
---|---|---|
![]() |
Class | Main Class |
![]() |
Example | Emails Management Example |
![]() |
Lic. | LICENSE |
![]() |
Doc. | Readme |
Version Control | Unique User Downloads | Download Rankings | |||||||||||||||
0% |
|
|
User Ratings | User Comments (2) | |||||||||||||||||||||||||||||||||||||
|
|
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 |
Directadmin DirectAdmin Website |
Pages that reference this package |
PHP Class for Direct Admin Someone has begun an open source Direct Admin class. If you’re developing software that does CURL calls to Cpanel, this might be useful for the few people who use Direct Admin. |