[!--quoteo(post=364570:date=Apr 13 2006, 03:55 PM:name=hadoob024)--][div class=\'quotetop\']QUOTE(hadoob024 @ Apr 13 2006, 03:55 PM) [snapback]364570[/snapback][/div][div class=\'quotemain\'][!--quotec--] Here's the function declaration for setcookie(): [code] bool setcookie ( string name [, string value [, int expire [, string path [, string domain [, bool secure]]]]] ) [/code] Setcookie() expects an integer for the third parameter, but I think you called it using a string value as the third parameter. [/quote] thanks it ok now but now it aint setting the cookie this is what i enter to solve the other problem setcookie("cookie", $username, time(), "/", ".domain.net", 0); but i looked in the cookie folder of the broswer and there aint a cookie there for my domain but if i run the test.php with this bit of code it sets the cookie ------test.php---------- <? setcookie("time_visited", date('m/D/Y'), time()+14400, "/", ".domain.net", 0); ?> any ideas thanks :@