#36746 [Opn->Csd]: french doc of setcookie is wrong about header

From: Date: Wed, 15 Mar 2006 18:58:40 +0000
Subject: #36746 [Opn->Csd]: french doc of setcookie is wrong about header
References: 1  Groups: php.doc 
Request: Send a blank email to phpdoc+get-969372391@lists.php.net to get a copy of this message
ID: 36746 Updated by: yannick@php.net Reported By: baldurien at club-internet dot fr -Status: Open +Status: Closed Bug Type: Documentation problem Operating System: irrelevant PHP Version: Irrelevant New Comment: This bug has been fixed in the documentation's XML sources. Since the online and downloadable versions of the documentation need some time to get updated, we would like to ask you to be a bit patient. Thank you for the report, and for helping us make our documentation better. Previous Comments: ------------------------------------------------------------------------ [2006-03-15 17:22:32] baldurien at club-internet dot fr Description: ------------ Here is the short description of setcookie in english : [...] Like other headers, cookies must be sent before any output from your script (this is a protocol restriction). [...] Here is what is said in french : [...] Les cookies doivent passer avant tout autre en-tête (c'est une restriction des cookies, pas de PHP). [...] And if you translate it into english : The cookie must be send before any other headers (this is a cookie restriction, not a PHP restriction) The meaning is not the same at all ! Expected result: ---------------- Les cookies doivent être envoyés avant toute autre sortie (c'est une restriction du protocole HTTP, pas de PHP). Actual result: -------------- Les cookies doivent passer avant tout autre en-tête (c'est une restriction des cookies, pas de PHP). ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=36746&edit=1

« previous php.doc (#969372391) next »