PHP Velho Oeste 2024

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.

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top