Set a PHP Cookie to expire at midnight 
//You might find strtotime useful in these situations.

setcookie('cons', 1, strtotime('today 23:59'), '/');


http://stackoverflow.com/questions/1313 ... t-midnight

[ view entry ] ( 1470 views )   |  print article

<<First <Back | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | Next> Last>>



2024 By Angel Cool