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.

Other function with API

Discussion in 'General Discussion' started by jprl12, Feb 1, 2005.

  1. jprl12

    jprl12 Member

    Joined:
    Sep 7, 2004
    Messages:
    17
    Likes Received:
    0
    Trophy Points:
    151
    Hi!

    Are there other functions for the API of cPanel/WHM? For example, a function for update a account on server, a function for change the informations about a account, etc.

    Thank you!
    Jean-Philippe Rivard Lauzier
     
  2. cunoodle2

    cunoodle2 Member

    Joined:
    Jun 17, 2004
    Messages:
    15
    Likes Received:
    0
    Trophy Points:
    151
    I have not seen much info on this. Try using curl as that can work with anything.
     
  3. ES-207261

    ES-207261 Member

    Joined:
    Jan 1, 2005
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    151
    You can do alost everything remotely in whm by using the following


    Code:
    $request = "/scripts/rest-of-url-from-whm-menu-link";
    
    $response = whmreq ($request,$host,$user,$accesshash,$usessl);
    echo $response;
     
  4. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,472
    Likes Received:
    20
    Trophy Points:
    463
    Location:
    Go on, have a guess
    No, they're not. Most of the scripts in /scripts are not used by WHM, they are stored within the binary used for WHM itself. The scripts in /scripts are mostly used by upcp and are for command line use.
     
Loading...

Share This Page