Re: Limit sign up based on age?
Typically you would do this with a combination of client and server side validation. JavaScript on the client side to validate your register form prior to submission, and a secondary check in your php post submission.
Start with a look at your register.php file