Re: http://www.php.net/manual/en/function.setcookie.php
| From: | Rasmus Lerdorf | Date: | Wed, 30 Oct 2002 06:21:33 +0000 |
| Subject: | Re: http://www.php.net/manual/en/function.setcookie.php | ||
| References: | 1 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969349354@lists.php.net to get a copy of this message | ||
Ok, you have phpdoc karma now.
On Tue, 29 Oct 2002, Chris Shiflett wrote:
> A quotation from this page reads as follows:
>
> "setcookie() defines a cookie to be sent along with the rest of the
> header information. Cookies must be sent before any other headers are
> sent (this is a restriction of cookies, not PHP)."
>
> This is inaccurate. It is not necessary that cookies be sent prior to
> other HTTP headers. Not only is this not a "restriction of cookies,"
> this is also not a restriction of PHP.
>
> I think the statement means to refer to the fact that cookies, like any
> other HTTP header, must come prior to any output.
>
> If someone could correct this (I only know that this statement exists in the
> English version of the manual, though it has possibly been translated to
> others), it would be helpful. Or, if someone wants to grant me
> (shiflett) the karma, I can do it.
>
> Chris
>
>
>
> --
> PHP Documentation Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>