Gen. partnerAlgotech

PHP funkce headers_sent()

Checks if or where headers have been sent

|
11. září 2019

Dostupnost ve verzích: PHP 4.0

Checks if or where headers have been sent

Parametry

Parametr Datový typ Výchozí hodnota Poznámka
$file string null, If the optional file and line parameters are set, headers_sent will put the PHP source file name and line number where output started in the file and line variables.
$line int null The line number where the output started.

bool

headers_sent will return false if no HTTP headers have already been sent or true otherwise.

Další zdroje

Oficiální dokumentace funkce headers-sent

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.