Hi,
I'm learning DA API's for my project and i'm testing the simplies way to coect with my DA account (admin of course) for now.
CMD_API_SHOW_USER_USAGE?user=user_name work fine, I can see nice array as a result.
But second day i'm fighting with the CMD_API_SHOW_ALL_USERS command or CMD_API_SHOW_USERS or CMD_API_SHOW_USERS=?reseller=reseller_name
I always get empty array as result: Array ( )
I tried to coect with and without SSL, always same result empty array.
I use simpliest code:
PHP Code:
$x = file_get_contents('https://admin:[email protected]_adress.com:2223/CMD_API_SHOW_ALL_USERS');
$y = urldecode($x); parse_str($y, $output); print
"<pre>";
print_r($output);
print "</pre>";
Very strange thing, could some one can help me?
برچسب:
نویسنده: ایمان اصلاحی