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::getMethod

(PECL pecl_http >= 0.10.0)

HttpRequest::getMethodGet method

Description

public int HttpRequest::getMethod ( void )

Get the previously set request method.

Return Values

Returns the currently set request method.


The HttpRequest
PHP Manual