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.

Adding A reseller php function?

Discussion in 'General Discussion' started by anmmark, Dec 11, 2004.

  1. anmmark

    anmmark Member

    Joined:
    Jan 1, 2004
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    I have been writing a php script for our company that uses the CPanel/WHM API to create accounts.

    The one thing we have been unable to figure out is how to provide reseller rights to our reseller clients upon signup.

    I noticed that cpanelappz has this functionality in their API, but I don't see a point in paying $7.95/mo just to get and keep one function, not to mention that we plan to sell this software once it's completed....making the cpanelappz API pointless for us on that aspect as well.

    Can anyone help me with this function, provide a good resource, or assist in writing this function?

    Any help or advice provided is extremely appreciated.
     
    #1 anmmark, Dec 11, 2004
    Last edited: Dec 11, 2004
  2. fwwebs

    fwwebs Well-Known Member

    Joined:
    Feb 16, 2004
    Messages:
    329
    Likes Received:
    0
    Trophy Points:
    16
    You must have root access. i.e. root remote access key.

    This should be pretty close.
     
    #2 fwwebs, Dec 11, 2004
    Last edited: Dec 11, 2004
  3. anmmark

    anmmark Member

    Joined:
    Jan 1, 2004
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    I assumed that much :)

    Any ideas regarding the function?
     
  4. fwwebs

    fwwebs Well-Known Member

    Joined:
    Feb 16, 2004
    Messages:
    329
    Likes Received:
    0
    Trophy Points:
    16
    I was looking for the code and posted prematurely. I updated my previous post. The variable, $acctname, must be an existing account.
     
Loading...

Share This Page