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

search for in the

HttpResponse::setGzip> <HttpResponse::setETag
Last updated: Wed, 25 Nov 2009

view this page in

HttpResponse::setFile

(PECL pecl_http >= 0.10.0)

HttpResponse::setFileSet file

Description

static bool HttpResponse::setFile ( string $file )

Set the file to be sent.

Note: Previously calculated or defined ETag and Last-Modified will be recalculated and redefined.

Parameters

file

the path to the file to send

Return Values

Returns TRUE on success or FALSE on failure.

See Also



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

HttpResponse::setGzip> <HttpResponse::setETag
Last updated: Wed, 25 Nov 2009
 
 
show source | credits | sitemap | contact | advertising | mirror sites