>> change your code to: >> >> $l_cookie_expireN = (int) date('r', time() - 4000 ); >> $l_cookie_expire = (int) date('r', time() + 400 ); >> $l_cookie_expire2 = (int) date('r', time() + 400*30*12 ); > > No, that's even worse!! Try this: > > $l_cookie_expireN = time() - 4000; > $l_cookie_expire = time() + 400; > $l_cookie_expire2 = time() + 400*30*12;
You're right of course, let's say that it was very early when I wrote that answer ;-)) Grtz Erwin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php