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

Kirk

> -----Original Message-----
> From: José León Serna [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, April 11, 2002 3:41 AM
> To: [EMAIL PROTECTED]
> 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 (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to