Freelance PHP programmer India | Freelance web developer india | Web development India | web developer CV india | Compiling PHP and Apache 2 from source on Linux
The HttpResponse
PHP Manual

HttpResponse::getContentType

(PECL pecl_http >= 0.10.0)

HttpResponse::getContentTypeGet content type

Description

static string HttpResponse::getContentType ( void )

Get current Content-Type header setting.

Return Values

Returns the currently set content type as string.

See Also


The HttpResponse
PHP Manual