Re: need a little help all
| From: | Binay | Date: | Mon, 29 Dec 2003 07:04:30 +0000 |
| Subject: | Re: need a little help all | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-173416@lists.php.net to get a copy of this message | ||
----- Original Message -----
From: "Richard Davey" <rich@launchcode.co.uk>
To: <php-general@lists.php.net>
Sent: Monday, December 29, 2003 4:52 AM
Subject: Re: [PHP] need a little help all
> Hello,
>
> Wednesday, December 17, 2003, 11:50:52 AM, you wrote:
>
> wmc> Here is what i have i call 2 cookies in the top of my script, now i
need to
> wmc> call another when another script is called but it keeps givin me the
error
> wmc> headers already sent,
> wmc> now ive seen this done in other scripts but wont work for me so
please help
> wmc> me is it in my php.ini or is it just not possible and imagened seeing
it
> wmc> somwhere else. Thanks all.
>
> You can access the value of cookies anywhere in your script,
> regardless if the headers have been sent or not. However you cannot
> SET a cookie once the headers have gone for use in the same page
> session. This isn't a PHP setting, it's just not possible.
---------------------
Output buffering might be hlepful.
read the php documentation abt output buffering.
---------------------
>
> --
> Best regards,
> Richard
> mailto:rich@launchcode.co.uk
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php