PHP Doku:: Saves an uploaded file to the database - mongogridfs.storeupload.html

Verlauf / Chronik / History: (1) anzeigen

Sie sind hier:
Doku-Startseite ≥ PHP-Handbuch ≥ Funktionsreferenz ≥ Datenbankerweiterungen ≥ Anbieterspezifische Datenbankerweiterungen ≥ MongoDB Native Driver ≥ GridFS Classes ≥ The MongoGridFS class ≥ MongoGridFS::storeUpload

Ein Service von Reinhard Neidl - Webprogrammierung.

The MongoGridFS class

<<MongoGridFS::storeFile

The MongoGridFSFile class>>

MongoGridFS::storeUpload

(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.


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",...)