Dear Supporters,
I'm using this example to check API but it stop (keep loading) when I call:
http://files.directadmin.com/services/all/httpsocket/examples/example.suspend_user.php
It keeps loading at this line:
So is there a place to turn on the API call or how can I correct and make it works?
Thank you.
I'm using this example to check API but it stop (keep loading) when I call:
http://files.directadmin.com/services/all/httpsocket/examples/example.suspend_user.php
It keeps loading at this line:
Code:
$sock->query('/CMD_SELECT_USERS',
array(
'location' => 'CMD_SELECT_USERS',
'suspend' => 'Suspend', // note - this can also be 'Unsuspend'
'select0' => '{user}'
));
So is there a place to turn on the API call or how can I correct and make it works?
Thank you.