Re: need a little help all
| From: | Richard Davey | Date: | Sun, 28 Dec 2003 23:22:14 +0000 |
| Subject: | Re: need a little help all | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-173406@lists.php.net to get a copy of this message | ||
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.
--
Best regards,
Richard mailto:rich@launchcode.co.uk