/** @param string $funkyAlias or null if no funkyUrls */ function initHttpData($funkyAlias) { $this->serverVars = $this->validateServerVars($_SERVER); //must be done before getFunkyRequestData $this->cookies = $this->validateGpc($_COOKIE, true); $this->get = $this->validateGpc($this->getFunkyRequestData($funkyAlias)); //does not include cookies $this->post = $this->validateGpc($_POST); } |