Mongo Funktionen
PHP Manual

mongo_gridfs_store

(PECL mongo >= 0.8.0)

mongo_gridfs_storeStore a file in the database

Beschreibung

MongoId mongo_gridfs_store ( resource $gridfs , string $filename )

Store a file in the database.

Parameter-Liste

gridfs

The gridfs connection to use.

filename

Name of the file to store.

Rückgabewerte

The MongoId given to the file saved to the database.

Siehe auch


Mongo Funktionen
PHP Manual