Need to create a very simple form that sets a cookie
Posted: Thu Mar 22, 2012 2:18 pm
I need to create a very simple form page. The page would list terms and conditions of usage of an internet connection. The person would type their full name into a single field, check off a checkbox for "I agree to the terms and conditions", and would then click "submit". This action should set a cookie in their browser that would then allow them to bypass this page the next time they connect to the internet. Their name, the checkbox "answer", and their IP address should then be saved to a MySQL database.
I am just not sure where to start to accomplish those items. Can anyone here advise me on how to accomplish those specific tasks, or maybe point me somewhere that I could find an answer/method?
Thanks!
I am just not sure where to start to accomplish those items. Can anyone here advise me on how to accomplish those specific tasks, or maybe point me somewhere that I could find an answer/method?
Thanks!