MongoGridFS::remove
MongoGridFS::storeUpload
MongoGridFS
PHP Manual

# MongoGridFS::storeFile

(PECL mongo >=0.9.0)

MongoGridFS::storeFile — Stores a file in the database

### Descripción

public MongoId MongoGridFS::storeFile ( string `$filename` [, array `$extra`= array() ] )

### Lista de parámetros

`filename`

  The name of the file.

`extra`

  Other metadata to add to the file saved.

### Valores retornados

Returns the database id for the file.

MongoGridFS::remove
MongoGridFS::storeUpload
MongoGridFS
PHP Manual