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!

cpanel API

Discussion in 'General Discussion' started by sangreal, Dec 25, 2006.

  1. sangreal

    sangreal Registered

    Joined:
    Sep 9, 2006
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    151
    Hello
    I'm using cpanel api, but I have problem with php + curl.
    I wrote simple script to check function whmreq:

    <?

    include 'Accounting.php.inc';

    echo whmreq('/scripts2/listparked','my_server.com','user','Remote_Access_Key',1);

    ?>

    But I can't auth using Remote_Access_Key, whats wrong, how i can use it??

    This problem looks like i can't auth in WHM, but if I use the same info(user,remote_key) in my brouser, it is working fine.

    Please help.
     
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