php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #36746 french doc of setcookie is wrong about header
Submitted: 2006-03-15 17:22 UTC Modified: 2006-03-15 19:58 UTC
Votes:2
Avg. Score:1.0 ± 0.0
Reproduced:0 of 0 (0.0%)
From: baldurien at club-internet dot fr Assigned:
Status: Closed Package: Documentation problem
PHP Version: Irrelevant OS: irrelevant
Private report: No CVE-ID: None
 [2006-03-15 17:22 UTC] 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).

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-03-15 19:58 UTC] yannick@php.net
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.
 [2020-12-30 12:50 UTC] nikic@php.net
Automatic comment on behalf of yannick
Revision: http://git.php.net/?p=doc/fr.git;a=commit;h=2429597b626614ebc7d5bc21a9bd07790521a7b0
Log: fix bug #36746 & ws
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Tue Apr 15 06:01:29 2025 UTC