PDA

View Full Version : Age Verification by birthdate?



JustMKollum
22 Nov 2010, 01:03 PM
Hello everybody,

I am trying to create a web page for a video game that is rated M for mature, therefore allowing only 17 year olds and up into my website.

My question is how can I create an Age Verification or Age Gate that works by entering your date of birth. I want the page to continue if your age is 17 and if you are not 17 it won't allow you to enter and a message will pop up saying "You are too young to Enter"

It's kind of like this website...

http://www.mkdeception.com/ (http://www.mkdeception.com/)

Thank you for your time and have a good day. :)

Big O[1]
23 Nov 2010, 02:30 PM
You will have to take the inputs and find how many years have passed since that date and if it passes your minimum age, show the rest of the site. This site uses Flash but you could do it in Javascript as well.