PHP Manual

PHP funkce readfile()

2019-09-11T08:04:04.000Z

Obsah článku

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

Jan Barášek   Více o autorovi

Autor článku pracuje jako seniorní vývojář a software architekt v Praze. Navrhuje a spravuje velké webové aplikace, které znáte a používáte. Od roku 2009 nabral bohaté zkušenosti, které tímto webem předává dál.

Rád vám pomůžu:

Související články

1.
304.

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, pokud si nevíte rady.

Lektor: Jan Barášek

V jiných jazycích

Status:
All systems normal.
2025