Mongo Funkcje
PHP Manual

mongo_gridfs_store

(PECL mongo >= 0.8.0)

mongo_gridfs_storeStore a file in the database

Opis

MongoId mongo_gridfs_store ( resource $gridfs , string $filename )

Store a file in the database.

Parametry

gridfs

The gridfs connection to use.

filename

Name of the file to store.

Zwracane wartości

The MongoId given to the file saved to the database.

Zobacz też:


Mongo Funkcje
PHP Manual