PHP Doku:: Set file - function.httpresponse-setfile.html

Verlauf / Chronik / History: (40) anzeigen

Sie sind hier:
Doku-StartseitePHP-HandbuchFunktionsreferenzSonstige DiensteHTTPThe HttpResponseHttpResponse::setFile

Ein Service von Reinhard Neidl - Webprogrammierung.

The HttpResponse

<<HttpResponse::setETag

HttpResponse::setGzip>>

HttpResponse::setFile

(PECL pecl_http >= 0.10.0)

HttpResponse::setFileSet file

Beschreibung

static bool HttpResponse::setFile ( string $file )

Set the file to be sent.

Hinweis: Bereits berechnete oder definierte ETag- und Last-ModifiedWerte werden neu berechnet oder definiert.

Parameter-Liste

file

the path to the file to send

Rückgabewerte

Gibt bei Erfolg TRUE zurück. Im Fehlerfall wird FALSE zurückgegeben.


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