get_headers
Opis
array get_headers ( string url [, int format] )get_headers() returns an array with the headers sent by the server in response to a HTTP request.
Parametry
urlThe target URL.
formatIf the optional
formatparameter is set to 1, get_headers() parses the response and sets the array's keys.
Rejestr zmian
| Wersja | Opis |
|---|---|
| 5.1.3 | This function now uses the default stream context, which can be set/changed with the stream_context_get_default() function. |
Przykłady
| Poprzedni | Spis treści | Następny |
| base64_encode | Początek rozdziału |