$x
";
exit();
}
function error($x) {
reply("$x");
}
function success($x) {
reply("\n$x");
}
$user = lookup_user_auth($auth);
if (!$user) {
error("no such user");
}
$name = urlencode($user->name);
$country = urlencode($user->country);
$postal_code = urlencode($user->postal_code);
$url = urlencode($user->url);
success(
"$user->id
$name
$country
$postal_code
$user->global_prefs
$user->project_prefs
$url
$user->send_email
$user->show_hosts
$user->teamid
$user->venue
");
?>