Hello, im having a problem thinking how to work out this problem, im setting cookies in php like this simple bit of code:
thats set to expire in 1 hr, i want to have php some how find out how many hrs are left in the day and then put that into the cookie so when the clock strikes midnight it will go away, does anybody no how to get php to do this?Code:setcookie("TestCookie", $value, time()+3600); /* expire in 1 hour */








Bookmarks