philip Tue Jan 21 22:24:26 2003 EDT Modified files: /phpdoc/en/reference/http/functions setcookie.xml Log: WS, tabs->spaces. (sorry, new text editor) Index: phpdoc/en/reference/http/functions/setcookie.xml diff -u phpdoc/en/reference/http/functions/setcookie.xml:1.16 phpdoc/en/reference/http/functions/setcookie.xml:1.17 --- phpdoc/en/reference/http/functions/setcookie.xml:1.16 Tue Jan 21 22:20:03 2003 +++ phpdoc/en/reference/http/functions/setcookie.xml Tue Jan 21 22:24:26 2003 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.16 $ --> +<!-- $Revision: 1.17 $ --> <!-- splitted from ./en/functions/http.xml, last change in rev 1.2 --> <refentry id="function.setcookie"> <refnamediv> @@ -88,7 +88,7 @@ <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 - the end of the session (when the browser closes). + the end of the session (when the browser closes). </entry> </row> <row> @@ -103,23 +103,23 @@ within the <literal>/foo/</literal> directory and all sub-directories such as <literal>/foo/bar/</literal> of <parameter>domain</parameter>. The default value is the - current directory that the cookie is being set in. - </entry> + current directory that the cookie is being set in. + </entry> </row> <row> <entry><parameter>domain</parameter></entry> <entry> - The domain that the cookie is available. + The domain that the cookie is available. </entry> <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 compatible - with more browsers. Setting it to <literal>www.example.com</literal> - will make the cookie only available in the <literal>www</literal> - subdomain. Refer to tail matching in the - <ulink url="&spec.cookies;">spec</ulink> for details. - </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 compatible + with more browsers. Setting it to <literal>www.example.com</literal> + will make the cookie only available in the <literal>www</literal> + subdomain. Refer to tail matching in the + <ulink url="&spec.cookies;">spec</ulink> for details. + </entry> </row> <row> <entry><parameter>secure</parameter></entry>
-- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php