F.38. URL
Function | Returns | Description |
---|---|---|
http_build_query(mixed formdata [, string prefix]) | string | Generates a form-encoded query string from an associative array or object. |
parse_url(string url) | array | Parses a URLand returns its components. |
get_headers(string url) | array | Fetches all the headers sent by the server in response to an HTTP request. |
urlencode(string str) | string | URL-encodes all non alphanumeric characters except -_. |
urldecode(string str) | string | Decodes URL-encoded string. |
rawurlencode(string str) | string | URL-encodes all non alphanumeric characters. |
rawurldecode(string str) | string | Decodes URL-encoded string. |
base64_encode(string str) | string | Encodes string using MIME base64 algorithm. |
base64_decode(string str) | string | Decodes string using MIME base64 algorithm. |
get_meta_tags(string filename [, bool use_include_path]) | array | Extracts all meta tag content attributes from a file and returns an array. |
Get Web Standards Programmer's Reference: HTML, CSS, JavaScript®, Perl, Python®, and PHP now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.