Свойство | Type | Description | |
---|---|---|---|
$HTTP_HEADERS | |||
$body | |||
$cookie | |||
$head | |||
$http_protocol | |||
$http_status |
Méthode | Description | |
---|---|---|
addHeaders ( array $header ) | 添加http header | |
getHeader ( $fastcgi = false ) | ||
noCache ( ) | ||
setHeader ( $key, $value ) | 设置Http头信息 | |
setHttpStatus ( $code ) | 设置Http状态 | |
setcookie ( $name, null $value = null, null $expire = null, string $path = '/', null $domain = null, null $secure = null, null $httponly = null ) | 设置COOKIE |