logo


is_valid) { case TRUE: $req = new wasRemoteAdmin('http://127.0.0.1:10000', 'opensim'); $ret = $req->admin_authenticate_user($first, $last, MD5($oldpassword), '1'); $rep = new SimpleXMLElement($ret); foreach($rep->params->param->value->struct->member as $member) { switch($member->name) { case "success": switch((bool)$member->value->boolean) { case TRUE: $ret = $req->admin_update_user($first, $last, $newpassword, '128', '128'); $rep = new SimpleXMLElement($ret); foreach($rep->params->param->value->struct->member as $member) { switch($member->name) { case "success": switch((bool)$member->value->boolean) { case TRUE: echo '

Account updated successfully.

'; goto last; default: echo '

Sorry, the account could not be updated at this time.

'; goto last; } break; } } goto last; default: echo '

Sorry, wrong password.

'; goto last; } break; } } default: echo '

Sorry, incorrect CAPTCHA. Please try again.

'; } last: ?>