hello
I'm basically using this to suspend/unsuspend users:
the problems:
1) it always returns a page like "Error:_document_not_found" (I can access https://IP:2222/CMD_SELECT_USERS normally
2) the account suspended is toogle even if "suspend" or "unsuspend" is set on key "suspend"
any hints on fixing that (specially 2)?
I'm basically using this to suspend/unsuspend users:
$Socket = new HTTPSocket;
$Socket->connect('ssl://IP',2222);
$Socket->set_login($usuario, $senha);
$Socket->set_method('GET');
$Socket->query('/CMD_SELECT_USERS',
array(
'location' => 'CMD_SELECT_USERS',
'suspend' => 'Unsuspend',
'select0' => $_POST[username]
));
the problems:
1) it always returns a page like "Error:_document_not_found" (I can access https://IP:2222/CMD_SELECT_USERS normally
2) the account suspended is toogle even if "suspend" or "unsuspend" is set on key "suspend"
any hints on fixing that (specially 2)?