CXIV. URL Functions

介紹

Dealing with URL strings: encoding, decoding and parsing.

需求

建立這個延伸不需要任何外部程式庫。

安裝

這些函數是PHP核心的一部分,不需要安裝就可使用。

執行時期組態

php.ini中沒有定義此延伸的組態指令。

資源類型

這個延伸沒有定義任何資源。

預先定義常數

這個延伸沒有定義任何常數。

內容目錄
base64_decode -- Decodes data encoded with MIME base64
base64_encode -- Encodes data with MIME base64
get_headers --  Fetches all the headers sent by the server in response to a HTTP request
get_meta_tags --  Extracts all meta tag content attributes from a file and returns an array
http_build_query -- Generate URL-encoded query string
parse_url -- Parse a URL and return its components
rawurldecode -- Decode URL-encoded strings
rawurlencode -- URL-encode according to RFC 1738
urldecode -- Decodes URL-encoded string
urlencode -- URL-encodes string