Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

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.

Whm Api

Discussion in 'General Discussion' started by rcttrainers, Sep 6, 2003.

  1. rcttrainers

    rcttrainers Member

    Jan 11, 2003
    Likes Received:
    Trophy Points:
    I have been trying to get the WHM API to work with no luck I can get it to list accounts but when I use the bellow code nothing

    require '/usr/local/cpanel/Cpanel/';
    $host "localhost";
    $user "user";
    $accesshash 'diffhash
    $usessl 0;
    $acctdomain "test.domain";
    $acctuser "testfo";
    $acctpass "plop";
    $acctplan "user_scripts";
    createacct ($host,$user,$accesshash,$usessl,$acctdomain,$acctuser,$acctpass,$acctplan);
    I am a reseller on the server Support Ticket Number:

Share This Page