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 (40 lines) | stat: -rwxr-xr-x 1,480 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
36
37
38
39
40
<?xml version="1.0" encoding="iso-8859-1"?>
 <chapter id="features.cookies">
  <title>Cookies</title>

  <para>
   PHP soporta transparentemente cookies HTTP. Las Cookies son un mecanismo
   que sirve para almacenar datos en el navegador del usuario remoto, para as&iacute;
   poder identificar al usuario cuando vuelva. Se pueden poner cookies usando
   la funcion <function>setcookies</function>. Las Cookies son parte de la
   cabecera HTTP, por tanto la funci&oacute;n <function>setcookie</function> debe ser
   llamada antes de que se produzca cualquier salida al navegador. Esta
   limitaci&oacute;n es la misma a la de la funci&oacute;n <function>header</function>.</para>


  <para>
   Cualquier cookie enviada a ti desde el cliente, autom&aacute;ticamente se convertir&aacute;
   en una variable PHP igual como ocurre con los m&eacute;todos de datos GET y POST. Si
   deseas asignar multiples valores a una cookie simple, a&ntilde;ade simplemente
   <emphasis>[]</emphasis> a el nombre de la cookie. Para m&aacute;s detalles ver la
   funci&oacute;n <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:
-->