intval($code), "message" => $message))); } function get_post($key, $is_error = true) { if (isset($_POST[$key])) return $_POST[$key]; else if ($is_error) error(400, "Missing parameters"); else return false; } ?>