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