diff --git a/features/cookies.xml b/features/cookies.xml index ca1f422814..6a2ab92a02 100644 --- a/features/cookies.xml +++ b/features/cookies.xml @@ -1,24 +1,19 @@ - - Cookies - - - PHP transparently supports HTTP cookies. Cookies are a mechanism - for storing data in the remote browser and thus tracking - or identifying return users. You can set cookies using the - setcookie function. Cookies are part of the - HTTP header, so setcookie must be called before - any output is sent to the browser. This is the same limitation that - header has. - - - Any cookies sent to you from the client will automatically be - turned into a PHP variable just like GET and POST method data. If - you wish to assign multiple values to a single cookie, just add - [] to the cookie name. For more details see - the setcookie function. - - - + + Cookies + + PHP는 HTTP Cookie를 투명하게(transparently) 지원한다. + Cookie 메카니즘은 트래킹이나 사용자 식별 등을 위해 원격 browser에 + 저장된 데이터를 돌려 받는 과정을 말한다. + 여러분은 cookie를 설정하기 위해 setcookie 함수를 사용할 수 있다. + Cookie는 HTTP 헤더의 한 부분이므로, setcookie 함수는 브라우저로 + 보내는 어떤 데이터보다도 앞에 사용해야 한다. + 이 제약은 header 함수와 같은 제약으로 보면 된다. + + 클라이언트가 보내준 모든 cookie는 자동적으로 GET이나 POST 방식 데이터와 같은 PHP 변수로 변환된다. + 만약 여러분이 동일한 cookie에 여러 값을 저장하고 싶다면 Cookie이름에 []를 더하면 된다. + 자세한 것은 setcookie 함수 설명을 참조하자. + +