Refer to the spec a couple more times, and a typo fix.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@113002 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Philip Olson 2003-01-22 03:20:03 +00:00
parent 2d657e3136
commit 877b77db88

View file

@ -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>