From 877b77db88bcb17d3ad8404ef022dc2ace4e3885 Mon Sep 17 00:00:00 2001 From: Philip Olson Date: Wed, 22 Jan 2003 03:20:03 +0000 Subject: [PATCH] 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 --- reference/http/functions/setcookie.xml | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/reference/http/functions/setcookie.xml b/reference/http/functions/setcookie.xml index aa655e6e23..ee30d00cfc 100644 --- a/reference/http/functions/setcookie.xml +++ b/reference/http/functions/setcookie.xml @@ -1,6 +1,6 @@ - + @@ -39,8 +39,10 @@ argument. Because the expire and secure arguments are integers, they cannot be skipped with an empty string, use a zero (0) - instead. The following table explains each parameter of - setcookie: + instead. The following table explains each parameter of the + setcookie function, be sure to read the + Netscape cookie specification + for specifics. @@ -112,10 +114,11 @@ To make the cookie available on all subdomains of example.com then you'd set it to '.example.com'. The - . is not required but makes it compatable + . is not required but makes it compatible with more browsers. Setting it to www.example.com will make the cookie only available in the www - subdomain. + subdomain. Refer to tail matching in the + spec for details.