PHP Manual

PHP function md5_file()

2019-09-11T08:04:04.000Z

Obsah článku

Availability in versions: PHP 4.2.0

Calculates the md5 hash of a given file

Parameters

Parameter Data type Default value Note
$filename string not The filename
$raw_output bool null When true, returns the digest in raw binary format with a length of 16.

Return values

string

A string on success, false otherwise.

Other resources

Official md5-file documentation

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.
313.

V jiných jazycích

Status:
All systems normal.
2025