Results 1 to 9 of 9
  1. #1
    Join Date
    Aug 2007
    Location
    Oakham England
    Posts
    499

    Cpanel Auto Account Creator Script

    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
    Streama - Your WordPress Friend
    http://www.streama.co.uk

  2. #2
    Join Date
    Nov 2007
    Location
    New Jersey, USA
    Posts
    4,680
    Wouldn't it be easier to just get WHMCS or WHMAP?

    - Daniel
    Managed & Unmanaged SSD VPS's by tmzVPS.com | FAST PURE SSD & HDD Plans!
    █ Locations in USA & United Kingdom - Legal Adult Content Allowed! 24/7 Certified Support.
    cPanel/WHM Included | Premium Softaculous | Data Migration Included with Managed Support.
    █ INSTANT SETUP | Paypal, Skrill, 2checkout, BitCoin & all Major Credit Cards Accepted! Skype: tmzvps.chat

  3. #3
    Join Date
    Aug 2007
    Location
    Oakham England
    Posts
    499
    ... No because im making it lol its my project
    Streama - Your WordPress Friend
    http://www.streama.co.uk

  4. #4
    Join Date
    Feb 2005
    Location
    Australia
    Posts
    5,842
    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.
    Chris

    "Some problems are so complex that you have to be highly intelligent and well informed just to be undecided about them." - Laurence J. Peter

  5. #5
    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/

  6. #6
    Join Date
    Nov 2006
    Location
    Houston, TX
    Posts
    563
    Quote Originally Posted by foobic View Post
    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.
    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.
    David Grega
    cPanel Technical Product Specialist

  7. #7
    Join Date
    Aug 2007
    Location
    Oakham England
    Posts
    499
    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.
    Streama - Your WordPress Friend
    http://www.streama.co.uk

  8. #8
    Join Date
    Aug 2007
    Location
    Oakham England
    Posts
    499
    its ok i have done it
    Streama - Your WordPress Friend
    http://www.streama.co.uk

  9. #9
    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •