From:             baldurien at club-internet dot fr
Operating system: irrelevant
PHP version:      Irrelevant
PHP Bug Type:     Documentation problem
Bug description:  french doc of setcookie is wrong about header

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 bug report at http://bugs.php.net/?id=36746&edit=1
-- 
Try a CVS snapshot (PHP 4.4): 
http://bugs.php.net/fix.php?id=36746&r=trysnapshot44
Try a CVS snapshot (PHP 5.1): 
http://bugs.php.net/fix.php?id=36746&r=trysnapshot51
Try a CVS snapshot (PHP 6.0): 
http://bugs.php.net/fix.php?id=36746&r=trysnapshot60
Fixed in CVS:                 http://bugs.php.net/fix.php?id=36746&r=fixedcvs
Fixed in release:             
http://bugs.php.net/fix.php?id=36746&r=alreadyfixed
Need backtrace:               http://bugs.php.net/fix.php?id=36746&r=needtrace
Need Reproduce Script:        http://bugs.php.net/fix.php?id=36746&r=needscript
Try newer version:            http://bugs.php.net/fix.php?id=36746&r=oldversion
Not developer issue:          http://bugs.php.net/fix.php?id=36746&r=support
Expected behavior:            http://bugs.php.net/fix.php?id=36746&r=notwrong
Not enough info:              
http://bugs.php.net/fix.php?id=36746&r=notenoughinfo
Submitted twice:              
http://bugs.php.net/fix.php?id=36746&r=submittedtwice
register_globals:             http://bugs.php.net/fix.php?id=36746&r=globals
PHP 3 support discontinued:   http://bugs.php.net/fix.php?id=36746&r=php3
Daylight Savings:             http://bugs.php.net/fix.php?id=36746&r=dst
IIS Stability:                http://bugs.php.net/fix.php?id=36746&r=isapi
Install GNU Sed:              http://bugs.php.net/fix.php?id=36746&r=gnused
Floating point limitations:   http://bugs.php.net/fix.php?id=36746&r=float
No Zend Extensions:           http://bugs.php.net/fix.php?id=36746&r=nozend
MySQL Configuration Error:    http://bugs.php.net/fix.php?id=36746&r=mysqlcfg

Reply via email to