Re: [PHP4BETA] JS Set Cookie
| From: | Teodor Cimpoesu | Date: | Wed, 24 Nov 1999 09:02:48 +0000 |
| Subject: | Re: [PHP4BETA] JS Set Cookie | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-6838@lists.php.net to get a copy of this message | ||
Michael Stearne wrote:
>
> A lot of times people need to set cookies after the headers have been
> sent on a page. The function below will generate a Javascript style
> cookie that can be used in this situation, is there anyway this
> functionality might be added as a PHP4 function?
>
> Michael
<snip>
This works only if she has JS enabled.
If you need to send headers anywhere in the page use output buffering.
--
CIMPOESU Teodor, Web Programmer
@ DIGICOM S.A. Bucharest, Romania
@ Internet, site development
@ teo@digiro.net , +(401)-330.47.28
official home page ~ http://www.digiro.net/
Internet web page ~ http://internet.digiro.net/