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 HttpRequest
PHP Manual

HttpRequest::getContentType

(PECL pecl_http >= 0.10.0)

HttpRequest::getContentTypeGet content type

Description

public string HttpRequest::getContentType ( void )

Get the previously set content type.

Return Values

Returns the previously set content type as string.


The HttpRequest
PHP Manual