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. |
Návratové hodnoty
int
the number of bytes read from the file. If an error occurs, false is returned and unless the function was called as