From 61c2efae6e396ec5a39589ef09e0aa2c9abb6d79 Mon Sep 17 00:00:00 2001 From: Egon Schmid Date: Thu, 16 Dec 1999 23:11:51 +0000 Subject: [PATCH] Made a proper indentation here also. git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@17315 c90b9560-bf6c-de11-be94-00142212c4b1 --- functions/apache.xml | 71 ++++++++++++++++++++++++++------------------ 1 file changed, 42 insertions(+), 29 deletions(-) diff --git a/functions/apache.xml b/functions/apache.xml index fa1fc18ef3..3168d97a0a 100644 --- a/functions/apache.xml +++ b/functions/apache.xml @@ -5,7 +5,10 @@ apache_lookup_uri - Perform a partial request for the specified URI and return all info about it + + Perform a partial request for the specified URI and return all + info about it + Description @@ -18,7 +21,6 @@ enough to obtain all the important information about the given resource and returns this information in a class. The properties of the returned class are: - status the_request @@ -42,14 +44,16 @@ mtime request_time - - - Note: apache_lookup_uri only works when PHP is installed as an Apache module - - + + + + Note: apache_lookup_uri only works when PHP is installed as an + Apache module + + - + apache_note @@ -60,7 +64,11 @@ string apache_note string note_name - string note_value + string + + note_value + + apache_note is an Apache-specific function @@ -70,7 +78,8 @@ note_name. If called with two arguments, it sets the value of note note_name to note_value and returns the previous value of - note note_name. + note note_name. + @@ -86,32 +95,35 @@ - This function returns an associative array of all the HTTP headers in the - current request. - - - 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. - - + This function returns an associative array of all the HTTP + headers in the current request. + + + 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. + + - getallheaders() Example - + <function>getallheaders</function> Example + $headers = getallheaders(); while (list($header, $value) = each($headers)) { echo "$header: $value<br>\n"; } - - This example will display all the request headers for the - current request. + + + This example will display all the request headers for the current + request. - getallheaders is currently only supported + Getallheaders is currently only supported when PHP runs as an Apache module. - + + @@ -136,7 +148,8 @@ while (list($header, $value) = each($headers)) { generate a Content-type header. For PHP files, you need to use include or require; virtual cannot be used to include a - document which is itself a PHP file.. + document which is itself a PHP file. + @@ -152,7 +165,7 @@ sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil -sgml-default-dtd-file:"../manual.ced" +sgml-default-dtd-file:"../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil