File: cookies.xml

package info (click to toggle)
phpdoc 20020310-1
  • links: PTS
  • area: main
  • in suites: woody
  • size: 35,272 kB
  • ctags: 354
  • sloc: xml: 799,767; php: 1,395; cpp: 500; makefile: 200; sh: 140; awk: 51
file content (35 lines) | stat: -rw-r--r-- 1,505 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
<?xml version="1.0" encoding="utf-8"?>
<!-- edited with XML Spy v2.5 NT  - http://www.xmlspy.com -->
<chapter id="features.cookies">
	<title>Cookies</title>
	<para>
	PHP는 HTTP Cookie를 투명하게(transparently) 지원한다. 
	Cookie 메카니즘은 트래킹이나 사용자 식별 등을 위해 원격 browser에 
	저장된 데이터를 돌려 받는 과정을 말한다. 
	여러분은 cookie를 설정하기 위해 <function>setcookie</function> 함수를 사용할 수 있다. 
	Cookie는 HTTP 헤더의 한 부분이므로, <function>setcookie</function> 함수는 브라우저로 
	보내는 어떤 데이터보다도 앞에 사용해야 한다. 
	이 제약은 <function>header</function> 함수와 같은 제약으로 보면 된다.</para>
	<para>
	클라이언트가 보내준 모든 cookie는 자동적으로 GET이나 POST 방식 데이터와 같은 PHP 변수로 변환된다. 
	만약 여러분이 동일한 cookie에 여러 값을 저장하고 싶다면 Cookie이름에 <emphasis>[]</emphasis>를 더하면 된다. 
	자세한 것은 <function>setcookie</function> 함수 설명을 참조하자.
	</para>
</chapter>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"../manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
-->