Knowledgebase

Cpanel Auto Account Creator Script

Posted by Danny159, 12-23-2007, 02:57 PM
Hi, I am making an order/billing system... and i want to make it so when the user clicks conferm it will make the cpanel account for me... however i dont know how to do this.. can someone post the script that will post the script that will do that and explain for me please? Regards Dan

Posted by TmzHosting, 12-23-2007, 03:31 PM
Wouldn't it be easier to just get WHMCS or WHMAP? - Daniel

Posted by Danny159, 12-23-2007, 04:23 PM
No because im making it lol its my project

Posted by foobic, 12-23-2007, 07:02 PM
You probably want the CPanel accounting module. Keep in mind that fully-automated account creation (without human confirmation) is a very bad idea - the spammers / scammers will exploit it.

Posted by futhey, 12-24-2007, 02:25 AM
I have some code that does what you're looking for. I Got to congratulate your effort, it seems you're developing everything from scratch from help found in these forums Anyway, here's the link: http://www.zubrag.com/scripts/

Posted by cPanelDavidG, 12-24-2007, 11:48 AM
cPanel Accounting (also known as the WHM API) will get most tasks done, however the new XML-API in cPanel 11 offers more functionality. You can find documentation on this at: http://www.cPanel.net/plugins/devel I believe someone has created a PHP Class to make interacting with this API a bit easier for PHP coders.

Posted by Danny159, 12-27-2007, 10:59 AM
Thanks for your help guys, Can anyone post a script that will suspend an account but with the WHM login as a Remote Access Key.

Posted by Danny159, 12-27-2007, 12:01 PM
its ok i have done it

Posted by futhey, 12-27-2007, 06:57 PM
Good to hear. You can use that format of the code on just about any WHM function that uses the get form in whm, by the way. It's very useful if you'd rather program it yourself than pay for it. If you need any help adapting this script further, PM or post. Thanks, James



Was this answer helpful?

Add to Favourites Add to Favourites

Print this Article Print this Article

Also Read
Block outgoing ip.. (Views: 539)


Language:

Client Login

Email

Password

Remember Me

Search