[PHP-DOC] cvs: phpdoc /en/reference/apache/functions apache-request-headers.xml apache-response-headers.xml

2004-08-10 Thread Nuno Lopes
nlopess Tue Aug 10 11:21:32 2004 EDT

  Modified files:  
/phpdoc/en/reference/apache/functions   apache-request-headers.xml 
apache-response-headers.xml 
  Log:
  examples
  
http://cvs.php.net/diff.php/phpdoc/en/reference/apache/functions/apache-request-headers.xml?r1=1.6r2=1.7ty=u
Index: phpdoc/en/reference/apache/functions/apache-request-headers.xml
diff -u phpdoc/en/reference/apache/functions/apache-request-headers.xml:1.6 
phpdoc/en/reference/apache/functions/apache-request-headers.xml:1.7
--- phpdoc/en/reference/apache/functions/apache-request-headers.xml:1.6 Mon Mar 22 
10:15:06 2004
+++ phpdoc/en/reference/apache/functions/apache-request-headers.xml Tue Aug 10 
11:21:32 2004
@@ -1,5 +1,5 @@
 ?xml version=1.0 encoding=iso-8859-1?
-!-- $Revision: 1.6 $ --
+!-- $Revision: 1.7 $ --
 !-- splitted from ./en/functions/apache.xml, last change in rev 1.2 --
   refentry id=function.apache-request-headers
refnamediv
@@ -32,6 +32,19 @@
 ?
 ]]
   /programlisting
+  para
+   The above example will output something similar to:
+  /para
+  screen
+![CDATA[
+Accept: */*
+Accept-Language: en-us
+Accept-Encoding: gzip, deflate
+User-Agent: Mozilla/4.0
+Host: www.example.com
+Connection: Keep-Alive
+]]
+  /screen
  /example
 /para
 note
http://cvs.php.net/diff.php/phpdoc/en/reference/apache/functions/apache-response-headers.xml?r1=1.8r2=1.9ty=u
Index: phpdoc/en/reference/apache/functions/apache-response-headers.xml
diff -u phpdoc/en/reference/apache/functions/apache-response-headers.xml:1.8 
phpdoc/en/reference/apache/functions/apache-response-headers.xml:1.9
--- phpdoc/en/reference/apache/functions/apache-response-headers.xml:1.8Sat 
May 22 11:28:41 2004
+++ phpdoc/en/reference/apache/functions/apache-response-headers.xmlTue Aug 10 
11:21:32 2004
@@ -1,5 +1,5 @@
 ?xml version=1.0 encoding=iso-8859-1?
-!-- $Revision: 1.8 $ --
+!-- $Revision: 1.9 $ --
 !-- splitted from ./en/functions/apache.xml, last change in rev 1.2 --
   refentry id=function.apache-response-headers
refnamediv
@@ -16,6 +16,30 @@
  /methodsynopsis
 para
  Returns an array of all Apache response headers.
+/para
+para
+ example
+  titlefunctionapache_response_headers/function example/title
+  programlisting role=php
+![CDATA[
+?php
+print_r(apache_response_headers());
+?
+]]
+  /programlisting
+  para
+   The above example will output something similar to:
+  /para
+  screen
+![CDATA[
+Array
+(
+[Accept-Ranges] = bytes
+[X-Powered-By] = PHP/4.3.8
+)
+]]
+  /screen
+ /example
 /para
 note.apache.nsapi-module;
 para


[PHP-DOC] cvs: phpdoc /en/reference/apache/functions apache-request-headers.xml

2003-12-07 Thread Friedhelm Betz
betzSun Dec  7 15:59:48 2003 EDT

  Modified files:  
/phpdoc/en/reference/apache/functions   apache-request-headers.xml 
  Log:
  see also apache_response_headers
  
  
  
Index: phpdoc/en/reference/apache/functions/apache-request-headers.xml
diff -u phpdoc/en/reference/apache/functions/apache-request-headers.xml:1.4 
phpdoc/en/reference/apache/functions/apache-request-headers.xml:1.5
--- phpdoc/en/reference/apache/functions/apache-request-headers.xml:1.4 Wed Nov 26 
19:50:00 2003
+++ phpdoc/en/reference/apache/functions/apache-request-headers.xml Sun Dec  7 
15:59:47 2003
@@ -1,5 +1,5 @@
 ?xml version=1.0 encoding=iso-8859-1?
-!-- $Revision: 1.4 $ --
+!-- $Revision: 1.5 $ --
 !-- splitted from ./en/functions/apache.xml, last change in rev 1.2 --
   refentry id=function.apache-request-headers
refnamediv
@@ -52,6 +52,9 @@
  /para
 /note
 reference.apache.note-nsapi-module;
+para
+ See also functionapache_response_headers/function.
+/para
/refsect1
   /refentry
 


[PHP-DOC] cvs: phpdoc /en/reference/apache/functions apache-request-headers.xml apache-response-headers.xml getallheaders.xml virtual.xml

2003-11-26 Thread Friedhelm Betz
betzWed Nov 26 19:50:00 2003 EDT

  Modified files:  
/phpdoc/en/reference/apache/functions   apache-request-headers.xml 
apache-response-headers.xml 
getallheaders.xml virtual.xml 
  Log:
  linking to nsapi note
  
  
Index: phpdoc/en/reference/apache/functions/apache-request-headers.xml
diff -u phpdoc/en/reference/apache/functions/apache-request-headers.xml:1.3 
phpdoc/en/reference/apache/functions/apache-request-headers.xml:1.4
--- phpdoc/en/reference/apache/functions/apache-request-headers.xml:1.3 Tue Jul 15 
13:59:36 2003
+++ phpdoc/en/reference/apache/functions/apache-request-headers.xml Wed Nov 26 
19:50:00 2003
@@ -1,5 +1,5 @@
 ?xml version=1.0 encoding=iso-8859-1?
-!-- $Revision: 1.3 $ --
+!-- $Revision: 1.4 $ --
 !-- splitted from ./en/functions/apache.xml, last change in rev 1.2 --
   refentry id=function.apache-request-headers
refnamediv
@@ -51,13 +51,7 @@
   link linkend=language.variables.predefinedenvironment variables/link.
  /para
 /note
-note
- para
-  From PHP 4.3.3 on you can use this function with the
-  link linkend='ref.nsapi'NSAPI server module/link in Netscape/iPlanet/SunONE
-  webservers, too.
- /para
-/note
+reference.apache.note-nsapi-module;
/refsect1
   /refentry
 
Index: phpdoc/en/reference/apache/functions/apache-response-headers.xml
diff -u phpdoc/en/reference/apache/functions/apache-response-headers.xml:1.3 
phpdoc/en/reference/apache/functions/apache-response-headers.xml:1.4
--- phpdoc/en/reference/apache/functions/apache-response-headers.xml:1.3Tue 
Jul 15 13:59:36 2003
+++ phpdoc/en/reference/apache/functions/apache-response-headers.xmlWed Nov 26 
19:50:00 2003
@@ -1,5 +1,5 @@
 ?xml version=1.0 encoding=iso-8859-1?
-!-- $Revision: 1.3 $ --
+!-- $Revision: 1.4 $ --
 !-- splitted from ./en/functions/apache.xml, last change in rev 1.2 --
   refentry id=function.apache-response-headers
refnamediv
@@ -22,13 +22,7 @@
  See also functiongetallheaders/function and
  functionheaders_sent/function.
 /para
-note
- para
-  From PHP 4.3.3 on you can use this function with the
-  link linkend='ref.nsapi'NSAPI server module/link in Netscape/iPlanet/SunONE
-  webservers, too.
- /para
-/note
+reference.apache.note-nsapi-module;
/refsect1
   /refentry
 
Index: phpdoc/en/reference/apache/functions/getallheaders.xml
diff -u phpdoc/en/reference/apache/functions/getallheaders.xml:1.5 
phpdoc/en/reference/apache/functions/getallheaders.xml:1.6
--- phpdoc/en/reference/apache/functions/getallheaders.xml:1.5  Tue Jul 15 13:59:36 
2003
+++ phpdoc/en/reference/apache/functions/getallheaders.xml  Wed Nov 26 19:50:00 
2003
@@ -1,5 +1,5 @@
 ?xml version=1.0 encoding=iso-8859-1?
-!-- $Revision: 1.5 $ --
+!-- $Revision: 1.6 $ --
 !-- splitted from ./en/functions/apache.xml, last change in rev 1.2 --
   refentry id=function.getallheaders
refnamediv
@@ -31,13 +31,7 @@
 para
  See also functionapache_request_headers/function.
 /para
-note
- para
-  From PHP 4.3.3 on you can use this function with the
-  link linkend='ref.nsapi'NSAPI server module/link in Netscape/iPlanet/SunONE
-  webservers, too.
- /para
-/note
+reference.apache.note-nsapi-module;
/refsect1
   /refentry
 
Index: phpdoc/en/reference/apache/functions/virtual.xml
diff -u phpdoc/en/reference/apache/functions/virtual.xml:1.5 
phpdoc/en/reference/apache/functions/virtual.xml:1.6
--- phpdoc/en/reference/apache/functions/virtual.xml:1.5Tue Jul 15 13:59:36 
2003
+++ phpdoc/en/reference/apache/functions/virtual.xmlWed Nov 26 19:50:00 2003
@@ -1,5 +1,5 @@
 ?xml version=1.0 encoding=iso-8859-1?
-!-- $Revision: 1.5 $ --
+!-- $Revision: 1.6 $ --
 !-- splitted from ./en/functions/apache.xml, last change in rev 1.20 --
   refentry id=function.virtual
refnamediv
@@ -30,13 +30,7 @@
  However, it is typically better to use functioninclude/function or
  functionrequire/function if you need to include another PHP file.
 /para
-note
- para
-  From PHP 4.3.3 on you can use this function with the
-  link linkend='ref.nsapi'NSAPI server module/link in Netscape/iPlanet/SunONE
-  webservers, too.
- /para
-/note
+reference.apache.note-nsapi-module;
/refsect1
   /refentry
 


[PHP-DOC] cvs: phpdoc /en/reference/apache/functions apache-request-headers.xml apache-response-headers.xml getallheaders.xml virtual.xml

2003-07-15 Thread Uwe Schindler
thetaphiTue Jul 15 13:59:36 2003 EDT

  Modified files:  
/phpdoc/en/reference/apache/functions   apache-request-headers.xml 
apache-response-headers.xml 
getallheaders.xml virtual.xml 
  Log:
  tell user that some apache-functions now are in NSAPI, too
  
Index: phpdoc/en/reference/apache/functions/apache-request-headers.xml
diff -u phpdoc/en/reference/apache/functions/apache-request-headers.xml:1.2 
phpdoc/en/reference/apache/functions/apache-request-headers.xml:1.3
--- phpdoc/en/reference/apache/functions/apache-request-headers.xml:1.2 Tue Jun 17 
06:21:07 2003
+++ phpdoc/en/reference/apache/functions/apache-request-headers.xml Tue Jul 15 
13:59:36 2003
@@ -1,5 +1,5 @@
 ?xml version=1.0 encoding=iso-8859-1?
-!-- $Revision: 1.2 $ --
+!-- $Revision: 1.3 $ --
 !-- splitted from ./en/functions/apache.xml, last change in rev 1.2 --
   refentry id=function.apache-request-headers
refnamediv
@@ -13,9 +13,9 @@
   void/
  /methodsynopsis
 para
- functionapache_request_headers/function returns an associative 
- array of all the HTTP headers in the current request.  This is only 
- supported when PHP runs as an productnameApache/productname 
+ functionapache_request_headers/function returns an associative
+ array of all the HTTP headers in the current request.  This is only
+ supported when PHP runs as an productnameApache/productname
  module.
 /para
 para
@@ -36,9 +36,9 @@
 /para
 note
  para
-  Prior to PHP 4.3.0, functionapache_request_headers/function was 
+  Prior to PHP 4.3.0, functionapache_request_headers/function was
   called functiongetallheaders/function.  After PHP 4.3.0,
-  functiongetallheaders/function is an alias for 
+  functiongetallheaders/function is an alias for
   functionapache_request_headers/function.
  /para
 /note
@@ -47,8 +47,15 @@
   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 productnameApache/productname module. Use
-  functionphpinfo/function to see a list of all of the available 
+  functionphpinfo/function to see a list of all of the available
   link linkend=language.variables.predefinedenvironment variables/link.
+ /para
+/note
+note
+ para
+  From PHP 4.3.3 on you can use this function with the
+  link linkend='ref.nsapi'NSAPI server module/link in Netscape/iPlanet/SunONE
+  webservers, too.
  /para
 /note
/refsect1
Index: phpdoc/en/reference/apache/functions/apache-response-headers.xml
diff -u phpdoc/en/reference/apache/functions/apache-response-headers.xml:1.2 
phpdoc/en/reference/apache/functions/apache-response-headers.xml:1.3
--- phpdoc/en/reference/apache/functions/apache-response-headers.xml:1.2Thu 
Sep  5 16:38:44 2002
+++ phpdoc/en/reference/apache/functions/apache-response-headers.xmlTue Jul 15 
13:59:36 2003
@@ -1,5 +1,5 @@
 ?xml version=1.0 encoding=iso-8859-1?
-!-- $Revision: 1.2 $ --
+!-- $Revision: 1.3 $ --
 !-- splitted from ./en/functions/apache.xml, last change in rev 1.2 --
   refentry id=function.apache-response-headers
refnamediv
@@ -22,6 +22,13 @@
  See also functiongetallheaders/function and
  functionheaders_sent/function.
 /para
+note
+ para
+  From PHP 4.3.3 on you can use this function with the
+  link linkend='ref.nsapi'NSAPI server module/link in Netscape/iPlanet/SunONE
+  webservers, too.
+ /para
+/note
/refsect1
   /refentry
 
Index: phpdoc/en/reference/apache/functions/getallheaders.xml
diff -u phpdoc/en/reference/apache/functions/getallheaders.xml:1.4 
phpdoc/en/reference/apache/functions/getallheaders.xml:1.5
--- phpdoc/en/reference/apache/functions/getallheaders.xml:1.4  Thu Jul 11 17:42:57 
2002
+++ phpdoc/en/reference/apache/functions/getallheaders.xml  Tue Jul 15 13:59:36 
2003
@@ -1,5 +1,5 @@
 ?xml version=1.0 encoding=iso-8859-1?
-!-- $Revision: 1.4 $ --
+!-- $Revision: 1.5 $ --
 !-- splitted from ./en/functions/apache.xml, last change in rev 1.2 --
   refentry id=function.getallheaders
refnamediv
@@ -13,24 +13,31 @@
   void/
  /methodsynopsis
 para
- functiongetallheaders/function is an alias for 
- functionapache_request_headers/function.  It will return an 
+ functiongetallheaders/function is an alias for
+ functionapache_request_headers/function.  It will return an
  associative array of all the HTTP headers in the current request.
- Please read the functionapache_request_headers/function 
+ Please read the functionapache_request_headers/function
  documentation for more information on how this function works.
 /para
 note
  para
-  In PHP 4.3.0, functiongetallheaders/function became an 
+  In PHP 4.3.0, 

[PHP-DOC] cvs: phpdoc /en/reference/apache/functions apache-request-headers.xml

2003-06-17 Thread Derick Rethans
derick  Tue Jun 17 06:21:07 2003 EDT

  Modified files:  
/phpdoc/en/reference/apache/functions   apache-request-headers.xml 
  Log:
  - Note reordering
  
  
Index: phpdoc/en/reference/apache/functions/apache-request-headers.xml
diff -u phpdoc/en/reference/apache/functions/apache-request-headers.xml:1.1 
phpdoc/en/reference/apache/functions/apache-request-headers.xml:1.2
--- phpdoc/en/reference/apache/functions/apache-request-headers.xml:1.1 Thu Jul 11 
17:29:34 2002
+++ phpdoc/en/reference/apache/functions/apache-request-headers.xml Tue Jun 17 
06:21:07 2003
@@ -1,5 +1,5 @@
 ?xml version=1.0 encoding=iso-8859-1?
-!-- $Revision: 1.1 $ --
+!-- $Revision: 1.2 $ --
 !-- splitted from ./en/functions/apache.xml, last change in rev 1.2 --
   refentry id=function.apache-request-headers
refnamediv
@@ -18,17 +18,9 @@
  supported when PHP runs as an productnameApache/productname 
  module.
 /para
-note
- para
-  Prior to PHP 4.3.0, functionapache_request_headers/function was 
-  called functiongetallheaders/function.  After PHP 4.3.0,
-  functiongetallheaders/function is an alias for 
-  functionapache_request_headers/function.
- /para
-/note
 para
  example
-  titlefunctionapache_request_headers/function Example/title
+  titlefunctionapache_request_headers/function example/title
   programlisting role=php
 ![CDATA[
 ?php
@@ -42,17 +34,23 @@
   /programlisting
  /example
 /para
-para
- note
-  para
-   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 productnameApache/productname module. Use
-   functionphpinfo/function to see a list of all of the available 
-   link linkend=language.variables.predefinedenvironment variables/link.
-  /para
- /note
-/para
+note
+ para
+  Prior to PHP 4.3.0, functionapache_request_headers/function was 
+  called functiongetallheaders/function.  After PHP 4.3.0,
+  functiongetallheaders/function is an alias for 
+  functionapache_request_headers/function.
+ /para
+/note
+note
+ para
+  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 productnameApache/productname module. Use
+  functionphpinfo/function to see a list of all of the available 
+  link linkend=language.variables.predefinedenvironment variables/link.
+ /para
+/note
/refsect1
   /refentry
 



-- 
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP-DOC] cvs: phpdoc /en/reference/apache/functions apache-request-headers.xml

2002-07-11 Thread Philip Olson

philip  Thu Jul 11 17:29:34 2002 EDT

  Added files: 
/phpdoc/en/reference/apache/functions   apache-request-headers.xml 
  Log:
  As of PHP 4.3.0 this is the new name for getallheaders().  Afterwhich, 
  getallheaders() is an alias.
  
  

Index: phpdoc/en/reference/apache/functions/apache-request-headers.xml
+++ phpdoc/en/reference/apache/functions/apache-request-headers.xml
?xml version=1.0 encoding=iso-8859-1?
!-- $Revision: 1.1 $ --
!-- splitted from ./en/functions/apache.xml, last change in rev 1.2 --
  refentry id=function.apache-request-headers
   refnamediv
refnameapache_request_headers/refname
refpurposeFetch all HTTP request headers/refpurpose
   /refnamediv
   refsect1
titleDescription/title
 methodsynopsis
  typearray/typemethodnameapache_request_headers/methodname
  void/
 /methodsynopsis
para
 functionapache_request_headers/function returns an associative 
 array of all the HTTP headers in the current request.  This is only 
 supported when PHP runs as an productnameApache/productname 
 module.
/para
note
 para
  Prior to PHP 4.3.0, functionapache_request_headers/function was 
  called functiongetallheaders/function.  After PHP 4.3.0,
  functiongetallheaders/function is an alias for 
  functionapache_request_headers/function.
 /para
/note
para
 example
  titlefunctionapache_request_headers/function Example/title
  programlisting role=php
![CDATA[
?php
$headers = apache_request_headers();

foreach ($headers as $header = $value) {
echo $header: $value br /\n;
}
?
]]
  /programlisting
 /example
/para
para
 note
  para
   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 productnameApache/productname module. Use
   functionphpinfo/function to see a list of all of the available 
   link linkend=language.variables.predefinedenvironment variables/link.
  /para
 /note
/para
   /refsect1
  /refentry

!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:../../../../manual.ced
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
--



-- 
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php