RE: [PHP] Request Headers
| From: | Johnson, Kirk | Date: | Thu, 11 Apr 2002 14:56:11 +0000 |
| Subject: | RE: [PHP] Request Headers | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-92583@lists.php.net to get a copy of this message | ||
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:jose.leon@securitydata.es]
> Sent: Thursday, April 11, 2002 3:41 AM
> To: php-general@lists.php.net
> 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?