downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | conferences | my php.net

search for in the

HttpResponse::setGzip> <HttpResponse::setETag
[edit] Last updated: Fri, 18 Sep 2009

view this page in

HttpResponse::setFile

(PECL pecl_http >= 0.10.0)

HttpResponse::setFileSet file

Описание

static bool HttpResponse::setFile ( string $file )

Set the file to be sent.

Забележка: Изчислените или дефинирани по-рано ETag и Last-Modified ще бъдат повторно изчислени и дефинирани.

Параметри

file

the path to the file to send

Връщани стойности

Връща TRUE при успех или FALSE при неуспех.

Вж. също



add a note add a note User Contributed Notes HttpResponse::setFile - [0 notes]
There are no user contributed notes for this page.

 
show source | credits | sitemap | contact | advertising | mirror sites