You can use the PHP function setcookie with expire parameter as time()+60*60*24 == 24 hours, so the cookie would automatically expire in 24 hours.
Check with $_COOKIE['unique-identifier'] if the cookie exists and if so don't display the div
Python is a good one to start, good general purpose language, lots of libraries and frameworks for pretty much anything already available. Also cross platform.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.