[PHP] Cookie Help

2001-08-13 Thread Max Mouse
Hi, I have a problem with setting cookies...I am able to set cookies and retreive the information when using IE but not netscape. I'm not totally sure what the problem is. Here is the syntax that I am using, any suggestions are welcomed. $cookiedata = Mmmm; $time = mktime()+900; $expire =

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

[PHP] cookie help

2001-07-24 Thread McShen
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 index.php,

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