The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Cpanel API similar to Ensim CLI module

Discussion in 'General Discussion' started by nareshnaidu, Dec 4, 2004.

  1. nareshnaidu

    nareshnaidu Registered

    Joined:
    Dec 4, 2004
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Hello Friends,

    I am posting this here for the first time. Any help or guidance will be highly appreciated.
    I am a php Developer. I need a project to be developed something similar to modernbill. Is there any way where in you can create users/accounts/allocate disk space from php. What i found is that Ensim has a CLI module from which this can be possible. For this you need to have Ensim Installed on the server. My client is having WHM installed on his server. Does cpanel have an API or any such CLI module from where this can be done.

    I need a way out of this. Please let me know if you have any ideas on this.

    Thanks in Advance.

    Regards,
    Naresh Naidu
     
  2. linux-image

    linux-image Well-Known Member

    Joined:
    Jun 8, 2004
    Messages:
    1,192
    Likes Received:
    1
    Trophy Points:
    38
    Location:
    India
    cPanel Access Level:
    Root Administrator
    cpanel uses a secipt to do this; namely /scripts/wwwacct . you will need to invoke this script to generate the domain with the allocated space.. etc .. etc..
     
  3. oinkmedia

    oinkmedia Well-Known Member

    Joined:
    Jul 5, 2003
    Messages:
    49
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    SW London (UK)
    Why is cPanel so secretive about its API?

    Why is cPanel so secretive about its API? There doesn't seem to be any definative API documentation anywhere!?!?

    Suggestions welcome
     
  4. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    Depends which API you're after. There's a handy site for the cPanel API (AOT the WHM API) here:
    http://cpanel.rac.me.uk/
     
  5. oinkmedia

    oinkmedia Well-Known Member

    Joined:
    Jul 5, 2003
    Messages:
    49
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    SW London (UK)
    Thanks, I already have them... are these the most up-to-date available?
     
Loading...

Share This Page