[PHP-DOC] cvs: phpdoc /en/features cookies.xml
vrana Wed Sep 21 04:23:02 2005 EDT Modified files: /phpdoc/en/features cookies.xml Log: Emphasise $_COOKIE (bug #34573) http://cvs.php.net/diff.php/phpdoc/en/features/cookies.xml?r1=1.20r2=1.21ty=u Index: phpdoc/en/features/cookies.xml diff -u phpdoc/en/features/cookies.xml:1.20 phpdoc/en/features/cookies.xml:1.21 --- phpdoc/en/features/cookies.xml:1.20 Mon May 24 16:03:04 2004 +++ phpdoc/en/features/cookies.xml Wed Sep 21 04:23:00 2005 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.20 $ -- +!-- $Revision: 1.21 $ -- chapter id=features.cookies titleCookies/title @@ -17,17 +17,18 @@ /para para - Any cookies sent to you from the client will automatically be turned into a - PHP variable just like literalGET/literal and literalPOST/literal - method data, depending on the link linkend=ini.register-globalsregister_globals/link - and link linkend=ini.variables-ordervariables_order/link - configuration variables. If you wish to assign multiple values to a single + Any cookies sent to you from the client will automatically be included into + a link linkend=reserved.variables.cookies$_COOKIE/link auto-global + array if link linkend=ini.variables-ordervariables_order/link + contains C. If you wish to assign multiple values to a single cookie, just add literal[]/literal to the cookie name. /para para - In PHP 4.1.0 and later, the varname$_COOKIE/varname auto-global array - will always be set with any cookies sent from the client. + Depending on link linkend=ini.register-globalsregister_globals/link, + regular PHP variables can be created from cookies. However it's not + recommended to rely on them as this feature is often turned off for the + sake of security. varname$HTTP_COOKIE_VARS/varname is also set in earlier versions of PHP when the link linkend=ini.track-varstrack_vars/link configuration variable is set. (This setting is always on since PHP 4.0.3.)
[PHP-DOC] cvs: phpdoc /en/features cookies.xml
young Mon May 24 14:55:56 2004 EDT Modified files: /phpdoc/en/features cookies.xml Log: cosmetic changes http://cvs.php.net/diff.php/phpdoc/en/features/cookies.xml?r1=1.17r2=1.18ty=u Index: phpdoc/en/features/cookies.xml diff -u phpdoc/en/features/cookies.xml:1.17 phpdoc/en/features/cookies.xml:1.18 --- phpdoc/en/features/cookies.xml:1.17 Thu May 20 18:40:42 2004 +++ phpdoc/en/features/cookies.xml Mon May 24 14:55:56 2004 @@ -1,62 +1,63 @@ -?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.17 $ -- - chapter id=features.cookies - titleCookies/title - - para - PHP transparently supports acronymHTTP/acronym 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 functionsetcookie/function or - functionsetrawcookie/function - function. Cookies are part of the HTTP header, so - functionsetcookie/function must be called before any output is sent to - the browser. This is the same limitation that functionheader/function - has. You can use the link linkend=ref.outcontroloutput buffering - functions/link to delay the script output until you have decided whether - or not to set any cookies or send any headers. - /para - - para - Any cookies sent to you from the client will automatically be turned into a - PHP variable just like GET and POST method data, depending on the - literalregister_globals/literal and literalvariables_order/literal - configuration variables. If you wish to assign multiple values to a single - cookie, just add literal[]/literal to the cookie name. - /para - - para - In PHP 4.1.0 and later, the varname$_COOKIE/varname auto-global array - will always be set with any cookies sent from the client. - varname$HTTP_COOKIE_VARS/varname is also set in earlier versions of PHP - when the literaltrack_vars/literal configuration variable is set. (This - setting is always on since PHP 4.0.3.) - /para - - para - For more details, including notes on browser bugs, see the - functionsetcookie/function and functionsetrawcookie/function - 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: -vim600: syn=xml fen fdm=syntax fdl=2 si -vim: et tw=78 syn=sgml -vi: ts=1 sw=1 --- +?xml version=1.0 encoding=iso-8859-1? +!-- $Revision: 1.18 $ -- + chapter id=features.cookies + titleCookies/title + + para + php; transparently supports acronymHTTP/acronym 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 + functionsetcookie/function or functionsetrawcookie/function + function. Cookies are part of the acronymHTTP/acronym header, so + functionsetcookie/function must be called before any output is sent to + the browser. This is the same limitation that functionheader/function + has. You can use the link linkend=ref.outcontroloutput buffering + functions/link to delay the script output until you have decided whether + or not to set any cookies or send any headers. + /para + + para + Any cookies sent to you from the client will automatically be turned into a + php; variable just like literalGET/literal and literalPOST/literal + method data, depending on the link linkend=ini.register-globalsregister_globals/link + and link linkend=ini.variables-ordervariables_order/link + configuration variables. If you wish to assign multiple values to a single + cookie, just add literal[]/literal to the cookie name. + /para + + para + In php; 4.1.0 and later, the varname$_COOKIE/varname auto-global array + will always be set with any cookies sent from the client. + varname$HTTP_COOKIE_VARS/varname is also set in earlier versions of php; + when the link linkend=ini.track-varstrack_vars/link configuration + variable is set. (This setting is always on since php; 4.0.3.) + /para + + para + For more details, including notes on browser bugs, see the + functionsetcookie/function and functionsetrawcookie/function + 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: +vim600: syn=xml fen fdm=syntax fdl=2 si +vim: et tw=78 syn=sgml +vi: ts=1 sw=1 +--
[PHP-DOC] cvs: phpdoc /en/features cookies.xml
young Mon May 24 15:24:54 2004 EDT Modified files: /phpdoc/en/features cookies.xml Log: change line ending to \n http://cvs.php.net/diff.php/phpdoc/en/features/cookies.xml?r1=1.18r2=1.19ty=u Index: phpdoc/en/features/cookies.xml diff -u phpdoc/en/features/cookies.xml:1.18 phpdoc/en/features/cookies.xml:1.19 --- phpdoc/en/features/cookies.xml:1.18 Mon May 24 14:55:56 2004 +++ phpdoc/en/features/cookies.xml Mon May 24 15:24:53 2004 @@ -1,63 +1,63 @@ -?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.18 $ -- - chapter id=features.cookies - titleCookies/title - - para - php; transparently supports acronymHTTP/acronym 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 - functionsetcookie/function or functionsetrawcookie/function - function. Cookies are part of the acronymHTTP/acronym header, so - functionsetcookie/function must be called before any output is sent to - the browser. This is the same limitation that functionheader/function - has. You can use the link linkend=ref.outcontroloutput buffering - functions/link to delay the script output until you have decided whether - or not to set any cookies or send any headers. - /para - - para - Any cookies sent to you from the client will automatically be turned into a - php; variable just like literalGET/literal and literalPOST/literal - method data, depending on the link linkend=ini.register-globalsregister_globals/link - and link linkend=ini.variables-ordervariables_order/link - configuration variables. If you wish to assign multiple values to a single - cookie, just add literal[]/literal to the cookie name. - /para - - para - In php; 4.1.0 and later, the varname$_COOKIE/varname auto-global array - will always be set with any cookies sent from the client. - varname$HTTP_COOKIE_VARS/varname is also set in earlier versions of php; - when the link linkend=ini.track-varstrack_vars/link configuration - variable is set. (This setting is always on since php; 4.0.3.) - /para - - para - For more details, including notes on browser bugs, see the - functionsetcookie/function and functionsetrawcookie/function - 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: -vim600: syn=xml fen fdm=syntax fdl=2 si -vim: et tw=78 syn=sgml -vi: ts=1 sw=1 --- +?xml version=1.0 encoding=iso-8859-1? +!-- $Revision: 1.19 $ -- + chapter id=features.cookies + titleCookies/title + + para + php; transparently supports acronymHTTP/acronym 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 + functionsetcookie/function or functionsetrawcookie/function + function. Cookies are part of the acronymHTTP/acronym header, so + functionsetcookie/function must be called before any output is sent to + the browser. This is the same limitation that functionheader/function + has. You can use the link linkend=ref.outcontroloutput buffering + functions/link to delay the script output until you have decided whether + or not to set any cookies or send any headers. + /para + + para + Any cookies sent to you from the client will automatically be turned into a + php; variable just like literalGET/literal and literalPOST/literal + method data, depending on the link linkend=ini.register-globalsregister_globals/link + and link linkend=ini.variables-ordervariables_order/link + configuration variables. If you wish to assign multiple values to a single + cookie, just add literal[]/literal to the cookie name. + /para + + para + In php; 4.1.0 and later, the varname$_COOKIE/varname auto-global array + will always be set with any cookies sent from the client. + varname$HTTP_COOKIE_VARS/varname is also set in earlier versions of php; + when the link linkend=ini.track-varstrack_vars/link configuration + variable is set. (This setting is always on since php; 4.0.3.) + /para + + para + For more details, including notes on browser bugs, see the + functionsetcookie/function and functionsetrawcookie/function + 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
[PHP-DOC] cvs: phpdoc /en/features cookies.xml
young Mon May 24 16:03:04 2004 EDT Modified files: /phpdoc/en/features cookies.xml Log: revert php; to PHP http://cvs.php.net/diff.php/phpdoc/en/features/cookies.xml?r1=1.19r2=1.20ty=u Index: phpdoc/en/features/cookies.xml diff -u phpdoc/en/features/cookies.xml:1.19 phpdoc/en/features/cookies.xml:1.20 --- phpdoc/en/features/cookies.xml:1.19 Mon May 24 15:24:53 2004 +++ phpdoc/en/features/cookies.xml Mon May 24 16:03:04 2004 @@ -1,13 +1,13 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.19 $ -- +!-- $Revision: 1.20 $ -- chapter id=features.cookies titleCookies/title para - php; transparently supports acronymHTTP/acronym 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 - functionsetcookie/function or functionsetrawcookie/function + PHP transparently supports acronymHTTP/acronym 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 functionsetcookie/function or + functionsetrawcookie/function function. Cookies are part of the acronymHTTP/acronym header, so functionsetcookie/function must be called before any output is sent to the browser. This is the same limitation that functionheader/function @@ -18,7 +18,7 @@ para Any cookies sent to you from the client will automatically be turned into a - php; variable just like literalGET/literal and literalPOST/literal + PHP variable just like literalGET/literal and literalPOST/literal method data, depending on the link linkend=ini.register-globalsregister_globals/link and link linkend=ini.variables-ordervariables_order/link configuration variables. If you wish to assign multiple values to a single @@ -26,11 +26,11 @@ /para para - In php; 4.1.0 and later, the varname$_COOKIE/varname auto-global array + In PHP 4.1.0 and later, the varname$_COOKIE/varname auto-global array will always be set with any cookies sent from the client. - varname$HTTP_COOKIE_VARS/varname is also set in earlier versions of php; + varname$HTTP_COOKIE_VARS/varname is also set in earlier versions of PHP when the link linkend=ini.track-varstrack_vars/link configuration - variable is set. (This setting is always on since php; 4.0.3.) + variable is set. (This setting is always on since PHP 4.0.3.) /para para
[PHP-DOC] cvs: phpdoc /en/features cookies.xml
gobaSat Dec 22 11:01:53 2001 EDT Modified files: /phpdoc/en/features cookies.xml Log: That directive is named variables_order now and not gpc_order Index: phpdoc/en/features/cookies.xml diff -u phpdoc/en/features/cookies.xml:1.12 phpdoc/en/features/cookies.xml:1.13 --- phpdoc/en/features/cookies.xml:1.12 Thu Dec 20 16:21:04 2001 +++ phpdoc/en/features/cookies.xml Sat Dec 22 11:01:52 2001 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.12 $ -- +!-- $Revision: 1.13 $ -- chapter id=features.cookies titleCookies/title @@ -19,7 +19,7 @@ para Any cookies sent to you from the client will automatically be turned into a PHP variable just like GET and POST method data, depending on the - literalregister_globals/literal and literalgpc_order/literal + literalregister_globals/literal and literalvariables_order/literal configuration variables. If you wish to assign multiple values to a single cookie, just add emphasis[]/emphasis to the cookie name. /para
[PHP-DOC] cvs: phpdoc /en/features cookies.xml
jimwThu Dec 20 16:21:05 2001 EDT Modified files: /phpdoc/en/features cookies.xml Log: document $_COOKIE, $HTTP_COOKIE_VARS, mention relevant configuration settings, be more explicit in pointing to setcookie documentation, note how to use output buffering Index: phpdoc/en/features/cookies.xml diff -u phpdoc/en/features/cookies.xml:1.11 phpdoc/en/features/cookies.xml:1.12 --- phpdoc/en/features/cookies.xml:1.11 Wed Dec 12 15:46:34 2001 +++ phpdoc/en/features/cookies.xml Thu Dec 20 16:21:04 2001 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.11 $ -- +!-- $Revision: 1.12 $ -- chapter id=features.cookies titleCookies/title @@ -10,14 +10,31 @@ functionsetcookie/function function. Cookies are part of the HTTP header, so functionsetcookie/function must be called before any output is sent to the browser. This is the same limitation that - functionheader/function has./para + functionheader/function has. You can use the link + linkend=ref.outcontroloutput buffering functions/link to delay the + script output until you have decided whether or not to set any cookies or + send any headers. + /para para - 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 - emphasis[]/emphasis to the cookie name. For more details see - the functionsetcookie/function function./para + Any cookies sent to you from the client will automatically be turned into a + PHP variable just like GET and POST method data, depending on the + literalregister_globals/literal and literalgpc_order/literal + configuration variables. If you wish to assign multiple values to a single + cookie, just add emphasis[]/emphasis to the cookie name. + /para + + para + In PHP 4.1.0 and later, the literal$_COOKIE/literal auto-global + array will always be set with any cookies sent from the client. + literal$HTTP_COOKIE_VARS/literal is also set in earlier versions of PHP + when the literaltrack_vars/literal configuration variable is set. + /para + + para + For more details, including notes on browser bugs, see the + functionsetcookie/function function. + /para /chapter