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!

Accessing WHM remotely

Discussion in 'cPanel Developers' started by eru.iluvatar, Feb 21, 2011.

  1. eru.iluvatar

    eru.iluvatar Registered

    Joined:
    Feb 21, 2011
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    51
    Hello there,

    I'd like to know, if it is possible to execute a php form, but as it requires Root authentication, I want to use the API functions (or any other way, php itself maybe) in order to authenticate my request!.

    How can I do that?..

    Regards.
     
  2. cPanelDavidN

    cPanelDavidN Integration Developer

    Joined:
    Dec 17, 2009
    Messages:
    571
    Likes Received:
    3
    Trophy Points:
    68
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    Hi Eru,

    Please look at the XML-API PHP client class. There's a very length thread here that discusses some basic usage, as well there are many other threads in this forum that discuss making API1 and API2 calls via the XML-API as the user or as root.

    Please have a look around and post back with any specific questions.

    Regards,
    -DavidN
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice