Results 1 to 11 of 11
  1. #1
    Join Date
    Sep 2002
    Location
    Earth
    Posts
    2,533

    Auto cPanel account set-up

    I would like to write a script that allows auto creation of accounts in cPanel. I would just like some scripts to look at how they do it, or information on how to do it with php.

    Is there an easy way to just make php call something, which has variables that can be defined, to make cPanel, set-up accounts?

    I know there are commercial software like phpManager, but I want to right my own, because I have my own merchant account and don't require a payment processor.

  2. #2
    Join Date
    Nov 2001
    Posts
    5,383
    phpmanager.com
    Clustered Hosting With Continuous Data Protection (CDP)
    http://www.solidinternet.com
    8 Years of hosting excellence!

  3. #3
    Join Date
    Sep 2002
    Location
    NAC DC
    Posts
    325
    you may try NIX
    :: www.addvaluehost.com :: http://forums.addvaluehost.com
    ::Multi-Domain Value Pack/Reseller Account :emi-Dedicated Server
    :: Providing Superlative quality, superb service and Economical since Aug 2002.

  4. #4
    Join Date
    Sep 2002
    Location
    Earth
    Posts
    2,533
    Thanks but I want to write my own, any info on how to do it. I will look over their source and see what I come up with.

  5. #5
    Join Date
    Nov 2001
    Location
    Glasgow, Scotland
    Posts
    339
    Hi,

    if you can write a program in php with ease, then you shouldn't NEED to look at the source code of another script to see how to create accounts in cpanel. WHM integration is really simple.

    Regards,

    Locutus

  6. #6
    Join Date
    Aug 2002
    Location
    Australia
    Posts
    771
    Yeah.. it is REALLY simple..

    When Locutus says simple.. he means simple.

    Hey Locu - I have written a reseller module - want a copy?

    It really is devine!

  7. #7
    Join Date
    Sep 2002
    Location
    Earth
    Posts
    2,533
    Originally posted by Locutus
    Hi,

    if you can write a program in php with ease, then you shouldn't NEED to look at the source code of another script to see how to create accounts in cpanel. WHM integration is really simple.

    Regards,

    Locutus
    How can one be expected to intergrate something written by a 3rd party, with out any information on how things work.

    I know this topic has been brought up many times but no one has published any code nor have I found any articles around that explain the best way to do this. I belive many here would like to know how it’s done.

  8. #8
    Join Date
    Sep 2001
    Location
    The Netherlands
    Posts
    101
    Just add a header in a php script calling username:password@yourdomain.com:2086/file?vars
    You're reading my signature, can't you do something useful?

  9. #9
    Join Date
    Nov 2001
    Posts
    5,383
    Originally posted by Locutus
    WHM integration is really simple.

    And modernbill still hasn't done it, you should consider releasing a module for it and charge them
    Clustered Hosting With Continuous Data Protection (CDP)
    http://www.solidinternet.com
    8 Years of hosting excellence!

  10. #10
    Join Date
    Sep 2002
    Location
    Earth
    Posts
    2,533
    Originally posted by RobbertC
    Just add a header in a php script calling username:password@yourdomain.com:2086/file?vars
    Will give that a go I never throught about that. Good idea thanks very much.

  11. #11
    Join Date
    Sep 2002
    Location
    Earth
    Posts
    2,533
    Tried that it does not work, will look over it again in the morning.

Posting Permissions

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