Gen. partnerAlgotech

PHP funkce get_headers()

Fetches all the headers sent by the server in response to a HTTP request

|
11. září 2019

Dostupnost ve verzích: PHP 5.0

Fetches all the headers sent by the server in response to a HTTP request

Parametry

Parametr Datový typ Výchozí hodnota Poznámka
$url string není The target URL.
$format int null, If the optional format parameter is set to non-zero, get_headers parses the response and sets the array's keys.
$context resource není

array

an indexed or associative array with the headers, or false on failure.

Další zdroje

Oficiální dokumentace funkce get-headers

Načítání komentářů...

Zůstaňte v obraze

Přihlaste se k odběru našeho newsletteru a získejte nejnovější informace o kybernetické bezpečnosti přímo do vaší e-mailové schránky.

Vaše údaje jsou v bezpečí. Newsletter můžete kdykoliv odhlásit.