I'm trying to find out how could I setup a page where a user needs to enter his email address prior to entering a photo gallery for example. I also need those emails recorded either in a database or in a text file that I can use later on for mail mass. If somebody could point out some php code and maybe MySQL I would really appreciate it

Thanks