From 8725b61220d0208242275a2d3fd528cffaed147e Mon Sep 17 00:00:00 2001 From: Philip Olson Date: Thu, 11 Jul 2002 21:34:24 +0000 Subject: [PATCH] Moved documentation to apache_request_headers(). This is now an alias for that function, as of PHP 4.3.0 git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@88385 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/apache/functions/getallheaders.xml | 42 ++++---------------- 1 file changed, 7 insertions(+), 35 deletions(-) diff --git a/reference/apache/functions/getallheaders.xml b/reference/apache/functions/getallheaders.xml index 40a9651c6d..d36570182c 100644 --- a/reference/apache/functions/getallheaders.xml +++ b/reference/apache/functions/getallheaders.xml @@ -1,5 +1,5 @@ - + @@ -13,42 +13,14 @@ - This function returns an associative array of all the HTTP - headers in the current request. + getallheaders is an alias for + apache_request_headers. It will return an + associative array of all the HTTP headers in the current request. + Please read the apache_request_headers + documentation for more information on how this function works. - - - You can also get at the value of the common CGI variables by - reading them from the environment, which works whether or not - you are using PHP as an Apache module. Use - phpinfo to see a list of all of the - environment variables defined this way. - - - - - - <function>getallheaders</function> Example - -\n"; -} -]]> - - - - - This example will display all the request headers for the current - request. - - - getallheaders is currently only supported - when PHP runs as an Apache module. - - + See also apache_request_headers.