MongoGridFS
PHP Manual

MongoGridFS::storeUpload

(PECL mongo >=0.9.0)

MongoGridFS::storeUploadSaves an uploaded file to the database

Описание

public mixed MongoGridFS::storeUpload ( string $name [, string $filename ] )

Список параметров

name

The name field of the uploaded file.

filename

String to be used as filename field in the database.

Возвращаемые значения

Returns the _id of the uploaded file.


MongoGridFS
PHP Manual