PHP Doku:: Stores a file in the database - mongogridfs.put.html

Verlauf / Chronik / History: (2) anzeigen

Sie sind hier:
Doku-StartseitePHP-HandbuchFunktionsreferenzDatenbankerweiterungenAnbieterspezifische DatenbankerweiterungenMongoDB Native DriverGridFS ClassesThe MongoGridFS classMongoGridFS::put

Ein Service von Reinhard Neidl - Webprogrammierung.

The MongoGridFS class

<<MongoGridFS::get

MongoGridFS::remove>>

MongoGridFS::put

(PECL mongo >=1.0.8)

MongoGridFS::putStores a file in the database

Beschreibung

public mixed MongoGridFS::put ( string $filename [, array $extra = array() ] )

Parameter-Liste

filename

The name of the file.

extra

Other metadata to add to the file saved.

Rückgabewerte

Returns the _id of the saved object.


Keine BenutzerBeiträge.
- Beiträge aktualisieren...



PHP Powered Diese Seite bei php.net
The PHP manual text and comments are covered by the Creative Commons Attribution 3.0 License © the PHP Documentation Group - Impressum - mail("TO:Reinhard Neidl",...)