MongoGridFS
在线手册:中文 英文
PHP手册

MongoGridFS::put

(PECL mongo >=1.0.8)

MongoGridFS::putStores a file in the database

说明

public mixed MongoGridFS::put ( string $filename [, array $extra = array() ] )

参数

filename

The name of the file.

extra

Other metadata to add to the file saved.

返回值

Returns the _id of the saved object.


MongoGridFS
在线手册:中文 英文
PHP手册