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

search for in the

MongoGridFSFile::getFilename> <MongoGridfsFile::__construct
Last updated: Fri, 20 Nov 2009

view this page in

MongoGridFSFile::getBytes

(PECL mongo >=0.9.0)

MongoGridFSFile::getBytesReturns this file's contents as a string of bytes

Description

public string MongoGridFSFile::getBytes ( void )

Warning: this will load the file into memory. If the file is bigger than your memory, this will cause problems!

Parameters

This function has no parameters.

Return Values

Returns a string of the bytes in the file.



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

 
show source | credits | sitemap | contact | advertising | mirror sites