Glossary Term
get_headers()
3 tags
1 category
get_headers() — Fetches all the headers sent by the server in response to an HTTP request.
get_headers returns an array with the headers sent by the server in response to a HTTP request.
Inputs: url: The target URL. associative: If the optional associative parameter is set to true, get_headers parses the response and sets the array’s keys. context: A valid context resource created with stream_context_create, or null to use the default context.
Returns: Returns an indexed or associative array with the headers, or false on failure.
Term Connections
Explore related terms connected by shared tags, shared categories, and relationship phrases. This map loads only when it comes into view.
Loading term connections…
