PHP funkce readfile()

Dostupnost ve verzích: PHP 4.0

Outputs a file

Parametry

Parametr Datový typ Výchozí hodnota Poznámka
$filename string není The filename being read.
$use_include_path bool null, You can use the optional second parameter and set it to true, if you want to search for the file in the include_path, too.
$context resource null A context stream resource.

int

the number of bytes read from the file. If an error occurs, false is returned and unless the function was called as

Další zdroje

Oficiální dokumentace funkce readfile

AI konzultace & implementace

Pomohu vám zavést AI do vašeho projektu– od analýzy a návrhu řešení až po nasazení do produkce. Ušetřete čas, zjednodušte procesy a získejte konkurenční výhodu.

Domluvit konzultaci
Konzultant: Jan Barášek
Potřebujete poradit s PHP?

Nabízím trénink vývojářů, konzultace, školení a analýzu návrhových vzorů. Osobně v Praze nebo online.

Napište mi

Newsletter

Nejlepsi tipy a triky o PHP do Vaseho e-mailu. Clanky a novinky nejen ze sveta PHP a programovani.