is_valid) { echo '
Sorry, incorrect captcha. Please try again.
'; } else { $req = new wasRemoteAdmin('http://127.0.0.1:10000', 'opensim'); $uuid = UUID::v4(); $ret = $req->admin_create_user($first, $last, $password, '128', '128'); $rep = new SimpleXMLElement($ret); foreach($rep->params->param->value->struct->member as $member) { if($member->name == "success" && $member->value->boolean == "0") { echo 'Sorry, the account could not be created.
'; break; } else { echo 'Account created successfully.
'; break; } } } ?>