sander          Sun Jun 16 07:35:11 2002 EDT

  Modified files:              
    /phpdoc-nl/reference/http/functions setcookie.xml 
    /phpdoc-nl/reference/var/functions  get-defined-vars.xml 
  Log:
  Sync with EN
  
  
Index: phpdoc-nl/reference/http/functions/setcookie.xml
diff -u phpdoc-nl/reference/http/functions/setcookie.xml:1.2 
phpdoc-nl/reference/http/functions/setcookie.xml:1.3
--- phpdoc-nl/reference/http/functions/setcookie.xml:1.2        Wed Apr 17 03:14:09 
2002
+++ phpdoc-nl/reference/http/functions/setcookie.xml    Sun Jun 16 07:35:09 2002
@@ -1,8 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- splitted from ./nl/functions/http.xml, last change in rev 1.1 -->
-<!-- last change to 'setcookie' in en/ tree in rev 1.2 -->
-<!-- EN-Revision: 1.2 Maintainer: manuzhai Status: ready -->
-<!-- OLD-Revision: 1.41/EN.1.2 -->
+<!-- EN-Revision: 1.3 Maintainer: manuzhai Status: ready -->
   <refentry id="function.setcookie">
    <refnamediv>
     <refname>setcookie</refname>
@@ -42,6 +39,11 @@
      verzonden over een veilige HTTPS verbinding.
     </para>
     <para>
+     Wanneer cookies eenmaal zijn ingesteld, kunnen ze worden opgeroepen
+     op de volgende pagina met de <varname>$_COOKIE</varname> array (die
+     vroeger <varname>$HTTP_COOKIE_VARS</varname> heette voor PHP 4.1.0.
+    </para>
+    <para>
      Veel voorkomende fouten:
      <itemizedlist>
       <listitem>
@@ -106,7 +108,7 @@
       <programlisting role="php">
 <![CDATA[
 echo $TestCookie;
-echo $HTTP_COOKIE_VARS["TestCookie"];
+echo $_COOKIE["TestCookie"];
 ]]>
       </programlisting>
      </informalexample>
Index: phpdoc-nl/reference/var/functions/get-defined-vars.xml
diff -u phpdoc-nl/reference/var/functions/get-defined-vars.xml:1.1 
phpdoc-nl/reference/var/functions/get-defined-vars.xml:1.2
--- phpdoc-nl/reference/var/functions/get-defined-vars.xml:1.1  Sat Jun  1 10:01:45 
2002
+++ phpdoc-nl/reference/var/functions/get-defined-vars.xml      Sun Jun 16 07:35:10 
+2002
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- EN-Revision: 1.2 Maintainer: sander Status: ready -->
+<!-- EN-Revision: 1.3 Maintainer: sander Status: ready -->
   <refentry id="function.get-defined-vars">
    <refnamediv>
     <refname>get_defined_vars</refname>
@@ -35,7 +35,7 @@
 print_r($arr["argv"]);
 
 // print alle server variabelen
-print_r($arr["HTTP_SERVER_VARS"]);
+print_r($arr["_SERVER"]);
 
 // print alle beschikbare keys voor de arrays van variabelen
 print_r(array_keys(get_defined_vars()));


Reply via email to