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

search for in the

http_send_data> <http_send_content_disposition
[edit] Last updated: Fri, 24 May 2013

view this page in

http_send_content_type

(PECL pecl_http >= 0.10.0)

http_send_content_typeEnviar cabecera Content-Type

Descripción

bool http_send_content_type ([ string $content_type = "application/x-octetstream" ] )

Adjuntar la cabecera Content-Type de la entidad enviada.

Nota: Esta función debería ser utilizada en conjunción con http_send_data(), http_send_file() y http_send_stream().

Parámetros

content_type

tipo de contenido deseado (primario/secundario)

Valores devueltos

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

Errores/Excepciones

Puede provocar E_WARNING cuando parezca que content_type no tiene una parte primaria y una secundaria.

Ver también



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

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