In the $HTTP_SERVER_VARS array there is an element named REQUEST_METHOD
which has this information. So use $HTTP_SERVER_VARS['REQUEST_METHOD'].


> -----Original Message-----
> From: José León Serna [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, April 11, 2002 3:41 AM
> Subject: [PHP] Request Headers
> Hello:
>   I would like to know the http request sent to the server, 
> to determine if
> is a GET, POST, etc. What function/variable I have to use?

PHP General Mailing List (
To unsubscribe, visit:

Reply via email to