cvs: presentations /slides/intro cookie.xml
| From: | David Sklar | Date: | Tue, 11 Mar 2003 18:00:35 +0000 |
| Subject: | cvs: presentations /slides/intro cookie.xml | ||
| Groups: | php.pres | ||
| Request: | Send a blank email to pres+get-596@lists.php.net to get a copy of this message | ||
sklar Tue Mar 11 13:00:35 2003 EDT
Modified files:
/presentations/slides/intro cookie.xml
Log:
corrected order of mktime() args
Index: presentations/slides/intro/cookie.xml
diff -u presentations/slides/intro/cookie.xml:1.1 presentations/slides/intro/cookie.xml:1.2
--- presentations/slides/intro/cookie.xml:1.1 Mon Jul 1 12:48:04 2002
+++ presentations/slides/intro/cookie.xml Tue Mar 11 13:00:26 2003
@@ -5,14 +5,14 @@
<h3>Setting a Persistent Cookie</h3>
<example title="Setting a Persistent Cookie"><![CDATA[<?
SetCookie('Cookie_Name','value',
- mktime(12,0,0,22,11,2002) ); ?>]]></example>
+ mktime(12,0,0,11,22,2002) ); ?>]]></example>
<example title="Reading a Cookie"><![CDATA[<? echo $Cookie_Name;
?>]]></example>
<example><![CDATA[<? echo $HTTP_COOKIE_VARS['Cookie_Name'];
?>]]></example>
<example title="Deleting the Cookies"><![CDATA[<?
SetCookie('Cookie_Name',''); ?>]]></example>
<example><![CDATA[<? SetCookie('Cookie_Name','',
- mktime(12,0,0,22,11,1970) ); ?>]]></example>
+ mktime(12,0,0,11,22,1970) ); ?>]]></example>
<blurb title="Other Optional Paramters">
Path, Domain, and Secure parameters can also be set to restrict a