For Programmers: Free Programming Magazines  


Home > Archive > PHP Documentation > October 2004 > #30607 [Opn]: typo on setcookie page









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author #30607 [Opn]: typo on setcookie page
derick@php.net

2004-10-29, 3:56 am

ID: 30607
Updated by: derick@php.net
Reported By: smifffy at smith-net dot org dot uk
Status: Open
-Bug Type: Website problem
+Bug Type: Documentation problem
Operating System: n/a
PHP Version: Irrelevant
New Comment:

Changing category to doc-problem.


Previous Comments:
------------------------------------------------------------------------

[2004-10-29 02:35:00] smifffy at smith-net dot org dot uk

Description:
------------
on the page (http://uk2.php.net/manual/en/function.setcookie.php) the
line:

Note: If the PHP directive register_globals is set to on then cookie
values will also be made into variables. In our examples below,
$TextCookie will exist. It's recommended to use $_COOKIE.

should read

Note: If the PHP directive register_globals is set to on then cookie
values will also be made into variables. In our examples below,
$TestCookie will exist. It's recommended to use $_COOKIE.

ive only looked on the uk and uk2 pages but i assume it is the same on
the other english servers.



------------------------------------------------------------------------


--
Edit this bug report at http://bugs.php.net/?id=30607&edit=1
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com