Thread: Cookies and PHP
View Single Post
Murlyn

 
Murlyn's Avatar
 
Member Since: Jun 11, 2003
Location: Mount Vernon, WA
Posts: 4,909
Murlyn is a name known to allMurlyn is a name known to allMurlyn is a name known to allMurlyn is a name known to allMurlyn is a name known to allMurlyn is a name known to allMurlyn is a name known to all
Mac Specs: MacBook Pro 2.6 GHz Core 2 Duo 4GB RAM OS 10.5.2

Murlyn is offline
Usually it has to do with the date in the cookie, look up the type of date the cookies are supposed to use. Actually do it this way

$one_year = time() + 60*60*24*365;
setcookie('oatmeal', 'yum', $one_year, '/', '', 0);

That should do it for you...
QUOTE Thanks