downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

hash_update_stream> <hash_init
Last updated: Fri, 13 Nov 2009

view this page in

hash_update_file

(PHP 5 >= 5.1.2, PECL hash >= 1.1)

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

説明

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

パラメータ

context

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

filename

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

context

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

返り値

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

参考

  • hash_init() - 段階的なハッシュコンテキストを初期化する
  • hash_update() - アクティブなハッシュコンテキストにデータを投入する
  • hash_update_stream() - アクティブなハッシュコンテキストに、オープンしているストリームから データを投入する
  • hash_final() - 段階的なハッシュ処理を終了し、出来上がったダイジェストを返す
  • hash() - ハッシュ値 (メッセージダイジェスト) を生成する
  • hash_file() - ファイルの内容から、ハッシュ値を生成する



add a note add a note User Contributed Notes
hash_update_file
There are no user contributed notes for this page.

hash_update_stream> <hash_init
Last updated: Fri, 13 Nov 2009
 
 
show source | credits | stats | sitemap | contact | advertising | mirror sites