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, 24 May 2013

view this page in

HttpResponse::setFile

(PECL pecl_http >= 0.10.0)

HttpResponse::setFileAsignar fichero

Descripción

static bool HttpResponse::setFile ( string $file )

Asigna el fichero que se va a enviar.

Nota: ETag y Last-Modified previamente calculados o definidos, serán ahora recalculados y redefinidos.

Parámetros

file

ruta al fichero que se va a enviar

Valores devueltos

Devuelve TRUE en caso de éxito o FALSE en caso de error.

Ver también



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