$_REQUEST, "_POST" => $_POST, "_GET" => $_GET, "_URI" => !array_key_empty("REQUEST_URI", $_SERVER) ? $_SERVER["REQUEST_URI"] : '' ); return $requests; } } if(!function_exists("redirect_uri")) { function redirect_uri($uri, $permanent=false) { header('Location: ' . $uri, true, $permanent ? 301 : 302); exit(); } } $requests = get_requests();