Re: [PHP] Cookie Help

2001-08-13 Thread Richard Baskett
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

Re: [PHP] cookie help

2001-07-24 Thread Rasmus Lerdorf
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 script src=http://www.peel.net/frames/PMNforce.js/script; } - When I reload

Re: [PHP] cookie help

2001-07-24 Thread McShen
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); if