It is long time since I have worked with cPanel. My last work was cPanel Email Management script that enables us to create/delete email accounts from outside of cPanel.
Today I have worked with another cool thing. I have created similar class for database. Using this class, anyone can easily create/delete database and database users.
Current Features:
- Create database
- Create User
- Grant Privileges
- Delete Users -> Supports deleting multiple users at a time. See the example in test.php
- Delete Database -> Supports deleting multiple databases at a time. See the example in test.php
- Check if database exists
- Check if user exists
Requirements:
- cPanel server
- English as language of cPanel
- cURL
Please let me know your suggestion if you use this class.
Special thanks to Sajjad Hossain for helping me during the development.
Update: 02-07-2009
- The class is approved in phpclasses.org. Click here to visit.
No related posts.
























July 1, 2009
Greatz
Keep it up.
July 2, 2009
Nice effort. It will be helpful.
July 2, 2009
Thanks both