MongoGridFS::storeUpload

(PECL mongo >=0.9.0)

MongoGridFS::storeUploadSaves an uploaded file to the database

Description

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

Parameters

name

The name field of the uploaded file.

filename

String to be used as filename field in the database.

Return Values

Returns the _id of the uploaded file.


Copyright © 2010-2024 Platon Technologies, s.r.o.           Home | Man pages | tLDP | Documents | Utilities | About
Design by styleshout