   #PHP Manual Stream functions stream_filter_register stream_get_filters

   PHP Manual
   Prev  Next
   ______________________________________________________________________

                              stream_get_contents

   (no version information, might be only in CVS)
   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.

     Note: This function is binary-safe.

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

   Prev                   Home               Next
   stream_filter_register  Up  stream_get_filters
