philip Tue Jan 21 22:20:03 2003 EDT
Modified files:
/phpdoc/en/reference/http/functions setcookie.xml
Log:
Refer to the spec a couple more times, and a typo fix.
Index: phpdoc/en/reference/http/functions/setcookie.xml
diff -u phpdoc/en/reference/http/functions/setcookie.xml:1.15
phpdoc/en/reference/http/functions/setcookie.xml:1.16
--- phpdoc/en/reference/http/functions/setcookie.xml:1.15 Tue Jan 21 16:26:43
2003
+++ phpdoc/en/reference/http/functions/setcookie.xml Tue Jan 21 22:20:03 2003
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.15 $ -->
+<!-- $Revision: 1.16 $ -->
<!-- splitted from ./en/functions/http.xml, last change in rev 1.2 -->
<refentry id="function.setcookie">
<refnamediv>
@@ -39,8 +39,10 @@
argument. Because the <parameter>expire</parameter> and
<parameter>secure</parameter> arguments are integers, they cannot
be skipped with an empty string, use a zero (<emphasis>0</emphasis>)
- instead. The following table explains each parameter of
- <function>setcookie</function>:
+ instead. The following table explains each parameter of the
+ <function>setcookie</function> function, be sure to read the
+ <ulink url="&spec.cookies;">Netscape cookie specification</ulink>
+ for specifics.
</para>
<para>
<table>
@@ -112,10 +114,11 @@
<entry>
To make the cookie available on all subdomains of example.com
then you'd set it to <literal>'.example.com'</literal>. The
- <literal>.</literal> is not required but makes it compatable
+ <literal>.</literal> is not required but makes it compatible
with more browsers. Setting it to <literal>www.example.com</literal>
will make the cookie only available in the <literal>www</literal>
- subdomain.
+ subdomain. Refer to tail matching in the
+ <ulink url="&spec.cookies;">spec</ulink> for details.
</entry>
</row>
<row>
--
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php