PHP kézikönyv
Előző |  | Következő

# Constants

(no version information, might be only in CVS)

Constants -- predefined http module constants

## Előre definiált állandók

Az itt listázott állandókat ez a kiterjesztés definiálja, és csak akkor elérhetőek, ha az adott kiterjesztés be van fordítva a PHP-be, vagy dinamikusan betöltött.

### Constants usable with http_support()

`HTTP_SUPPORT` (integer)

`HTTP_SUPPORT_REQUESTS` (integer)

`HTTP_SUPPORT_MAGICMIME` (integer)

`HTTP_SUPPORT_ENCODINGS` (integer)

`HTTP_SUPPORT_SSLREQUESTS` (integer)

### Constants usable with http_parse_params()

`HTTP_PARAMS_ALLOW_COMMA` (integer)

`HTTP_PARAMS_ALLOW_FAILURE` (integer)

`HTTP_PARAMS_RAISE_ERROR` (integer)

`HTTP_PARAMS_DEFAULT` (integer)

### Constants usable with http_parse_cookie() and its return value

`HTTP_COOKIE_PARSE_RAW` (integer)

`HTTP_COOKIE_SECURE` (integer)

`HTTP_COOKIE_HTTPONLY` (integer)

### Constants usable with http_deflate() and HttpDeflateStream

`HTTP_DEFLATE_LEVEL_DEF` (integer)

`HTTP_DEFLATE_LEVEL_MIN` (integer)

`HTTP_DEFLATE_LEVEL_MAX` (integer)

`HTTP_DEFLATE_TYPE_ZLIB` (integer)

`HTTP_DEFLATE_TYPE_GZIP` (integer)

`HTTP_DEFLATE_TYPE_RAW` (integer)

`HTTP_DEFLATE_STRATEGY_DEF` (integer)

`HTTP_DEFLATE_STRATEGY_FILT` (integer)

`HTTP_DEFLATE_STRATEGY_HUFF` (integer)

`HTTP_DEFLATE_STRATEGY_RLE` (integer)

`HTTP_DEFLATE_STRATEGY_FIXED` (integer)

### Constants usable with HttpDeflateStream and HttpInflateStream

`HTTP_ENCODING_STREAM_FLUSH_NONE` (integer)

`HTTP_ENCODING_STREAM_FLUSH_SYNC` (integer)

`HTTP_ENCODING_STREAM_FLUSH_FULL` (integer)

### Constants used for error reporting and Exceptions

`HTTP_E_RUNTIME` (integer)

`HTTP_E_INVALID_PARAM` (integer)

`HTTP_E_HEADER` (integer)

`HTTP_E_MALFORMED_HEADERS` (integer)

`HTTP_E_REQUEST_METHOD` (integer)

`HTTP_E_MESSAGE_TYPE` (integer)

`HTTP_E_ENCODING` (integer)

`HTTP_E_REQUEST` (integer)

`HTTP_E_REQUEST_POOL` (integer)

`HTTP_E_SOCKET` (integer)

`HTTP_E_RESPONSE` (integer)

`HTTP_E_URL` (integer)

`HTTP_E_QUERYSTRING` (integer)

### Constants usable with HttpMessage

`HTTP_MSG_NONE` (integer)

`HTTP_MSG_REQUEST` (integer)

`HTTP_MSG_RESPONSE` (integer)

### Constants usable with HttpQueryString

`HTTP_QUERYSTRING_TYPE_BOOL` (integer)

`HTTP_QUERYSTRING_TYPE_INT` (integer)

`HTTP_QUERYSTRING_TYPE_FLOAT` (integer)

`HTTP_QUERYSTRING_TYPE_STRING` (integer)

`HTTP_QUERYSTRING_TYPE_ARRAY` (integer)

`HTTP_QUERYSTRING_TYPE_OBJECT` (integer)

### Constants used for the httpauthtype request option

`HTTP_AUTH_BASIC` (integer)

`HTTP_AUTH_DIGEST` (integer)

`HTTP_AUTH_NTLM` (integer)

`HTTP_AUTH_ANY` (integer)

### Constants used for the HTTP protocol version request option

`HTTP_VERSION_NONE` (integer)

`HTTP_VERSION_1_0` (integer)

`HTTP_VERSION_1_1` (integer)

### Constants used for the proxytype request option

`HTTP_PROXY_SOCKS4` (integer)

`HTTP_PROXY_SOCKS5` (integer)

`HTTP_PROXY_HTTP` (integer)

### Predefined HTTP request method constants

`HTTP_METH_GET` (integer)

`HTTP_METH_HEAD` (integer)

`HTTP_METH_POST` (integer)

`HTTP_METH_PUT` (integer)

`HTTP_METH_DELETE` (integer)

`HTTP_METH_OPTIONS` (integer)

`HTTP_METH_TRACE` (integer)

`HTTP_METH_CONNECT` (integer)

`HTTP_METH_PROPFIND` (integer)

`HTTP_METH_PROPPATCH` (integer)

`HTTP_METH_MKCOL` (integer)

`HTTP_METH_COPY` (integer)

`HTTP_METH_MOVE` (integer)

`HTTP_METH_LOCK` (integer)

`HTTP_METH_UNLOCK` (integer)

`HTTP_METH_VERSION_CONTROL` (integer)

`HTTP_METH_REPORT` (integer)

`HTTP_METH_CHECKOUT` (integer)

`HTTP_METH_CHECKIN` (integer)

`HTTP_METH_UNCHECKOUT` (integer)

`HTTP_METH_MKWORKSPACE` (integer)

`HTTP_METH_UPDATE` (integer)

`HTTP_METH_LABEL` (integer)

`HTTP_METH_MERGE` (integer)

`HTTP_METH_BASELINE_CONTROL` (integer)

`HTTP_METH_MKACTIVITY` (integer)

`HTTP_METH_ACL` (integer)

### Constants usable with http_redirect()

`HTTP_REDIRECT` (integer)

`HTTP_REDIRECT_PERM` (integer)

`HTTP_REDIRECT_FOUND` (integer)

`HTTP_REDIRECT_POST` (integer)

`HTTP_REDIRECT_PROXY` (integer)

`HTTP_REDIRECT_TEMP` (integer)

### Constants usable with http_build_url()

`HTTP_URL_REPLACE` (integer)

`HTTP_URL_JOIN_PATH` (integer)

`HTTP_URL_JOIN_QUERY` (integer)

`HTTP_URL_STRIP_USER` (integer)

`HTTP_URL_STRIP_PASS` (integer)

`HTTP_URL_STRIP_AUTH` (integer)

`HTTP_URL_STRIP_PORT` (integer)

`HTTP_URL_STRIP_PATH` (integer)

`HTTP_URL_STRIP_QUERY` (integer)

`HTTP_URL_STRIP_FRAGMENT` (integer)

`HTTP_URL_STRIP_ALL` (integer)

Előző | Tartalom | Következő
Configuration | Fel | HttpMessage