Forum und email

hash_update_file

(PHP 5 >= 5.1.2, PECL hash:1.1-1.5)

hash_update_file — アクティブなハッシュコンテキストに、ファイルから データを投入する

説明

bool hash_update_file ( resource $context , string $filename [, resource $context ] )

パラメータ

context

hash_init() が返すハッシュコンテキスト。

filename

ハッシュ対象となるファイルの位置を示す URL。 fopen ラッパーをサポートしています。

context

stream_context_create() が返す ストリームコンテキスト。

返り値

成功した場合に TRUE を、失敗した場合に FALSE を返します。