(PECL mongo >=0.9.0)
MongoGridFS::storeUpload — Saves an uploaded file to the database
Beschreibung
public mixed MongoGridFS::storeUpload
(
string $name
[,
string $filename
] )
Parameter-Liste
-
name
-
The name field of the uploaded file.
-
filename
-
String to be used as filename field in the database.
Rückgabewerte
Returns the _id of the uploaded file.