bjori           Mon Jan  8 10:35:00 2007 UTC

  Modified files:              
    /phpdoc/en/reference/network/functions      setcookie.xml 
  Log:
  Fixed bug#39994 (setcookie() docs don't say what to pass in "expire" to set a 
session cookie)
  
  
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/network/functions/setcookie.xml?r1=1.2&r2=1.3&diff_format=u
Index: phpdoc/en/reference/network/functions/setcookie.xml
diff -u phpdoc/en/reference/network/functions/setcookie.xml:1.2 
phpdoc/en/reference/network/functions/setcookie.xml:1.3
--- phpdoc/en/reference/network/functions/setcookie.xml:1.2     Fri Aug 11 
16:21:54 2006
+++ phpdoc/en/reference/network/functions/setcookie.xml Mon Jan  8 10:35:00 2007
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.2 $ -->
+<!-- $Revision: 1.3 $ -->
 <!-- splitted from ./en/functions/http.xml, last change in rev 1.2 -->
   <refentry id="function.setcookie">
    <refnamediv>
@@ -98,7 +98,7 @@
          </entry>
          <entry>
           <literal>time()+60*60*24*30</literal> will set the cookie to
-          expire in 30 days.  If not set, the cookie will expire at
+          expire in 30 days. If set to 0, or omitted, the cookie will expire at
           the end of the session (when the browser closes).
          </entry>
         </row>

Reply via email to