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.

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:
    1
    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