HttpResponse::setFile

Example

 static bool HttpResponse::setFile ( string $file ) 

Description

Set the file to be sent. Note: Previously calculated or defined ETag and Last-Modified will be recalculated and redefined.

Return Values

Returns TRUE on success or FALSE on failure.