header("Set-Cookie: cookiemonster=$cookiedata; expires=$expire; path=/;
domain="domain.com", secure);
or go to http://home.netscape.com/newsref/std/cookie_spec.html to view even
more specs on it. I just found this way of setting cookies to always work
compared to the php setcookie command which
thanks!
"Rasmus Lerdorf" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > in order to prevent my visitors from seeing more than one popup in less
than
> > 120 second, I added this to my php page(index.php)
> > --
> > setcookie("popup",1,time()+120)
> in order to prevent my visitors from seeing more than one popup in less than
> 120 second, I added this to my php page(index.php)
> --
> setcookie("popup",1,time()+120);
> if ($popup!=1)
>
> echo "http://www.peel.net/frames/PMNforce.js>";
> }
> -
>
> When I reload i
3 matches
Mail list logo