vrana           Thu Jul 14 06:17:43 2005 EDT

  Modified files:              
    /phpdoc/en/reference/http/functions setcookie.xml 
  Log:
  Don't recommend security hole (bug #33688)
  
http://cvs.php.net/diff.php/phpdoc/en/reference/http/functions/setcookie.xml?r1=1.36&r2=1.37&ty=u
Index: phpdoc/en/reference/http/functions/setcookie.xml
diff -u phpdoc/en/reference/http/functions/setcookie.xml:1.36 
phpdoc/en/reference/http/functions/setcookie.xml:1.37
--- phpdoc/en/reference/http/functions/setcookie.xml:1.36       Mon Jan  3 
07:51:36 2005
+++ phpdoc/en/reference/http/functions/setcookie.xml    Thu Jul 14 06:17:42 2005
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.36 $ -->
+<!-- $Revision: 1.37 $ -->
 <!-- splitted from ./en/functions/http.xml, last change in rev 1.2 -->
   <refentry id="function.setcookie">
    <refnamediv>
@@ -198,9 +198,10 @@
        <simpara>
         Cookies names can be set as array names and will be available to your 
         PHP scripts as arrays but separate cookies are stored on the users 
-        system.  Consider <function>explode</function> or
-        <function>serialize</function> to set one cookie with multiple names 
-        and values.
+        system. Consider <function>explode</function> to set one cookie with
+        multiple names and values. It is not recommended to use
+        <function>serialize</function> for this purpose, because it can result
+        in security holes.
        </simpara>
       </listitem>
      </itemizedlist>

Reply via email to