So I am making a script, the first step is to see what privs the user has, as in reseller or root...
I run a pretty basic query...
PHP Code:
$str = $xmlapi-> xmlapi_query('myprivs');
echo $str;
When ran as root, it works fine, all is 0 except for all, which is 1.
When ran as a reseller, it just times out... any idea?
EDIT:
Damn near all API queries hang as a reseller..
List accounts
list suspended
list accts over quota
restarting services
Any idea why these wont work? The reseller has rights to them..