stream_get_contents

(PHP 5)

stream_get_contents -- Reads remainder of a stream into a string

Description

string stream_get_contents ( resource handle [, int maxlength])

Identical to file_get_contents(), except that stream_get_contents() operates on an already open file resource and returns the remaining contents, up to maxlength bytes, in a string.

Замечание: Эта функция безопасна для обработки данных в двоичной форме.

See also: fgets(), fread(), and fpassthru().


HIVE: All information for read only. Please respect copyright!
Hosted by hive КГБ: Киевская городская библиотека