PHP Cookie that remembers email address
Posted on 2011-10-31
I have a landing page I'm building that requests the users email. My client wants the user to enter in the email and their name, nothing else. When the user hits submit, the information will be sent to my client. No entry into any database.
However, once you enter in your email, he doesn't want that user to be able to sign up again. I'm not sure how to go about it without a database, so I figured a cookie.
Question: Can someone help me through the process either with a tutorial or some sample code on how to implement this kind of thing? Haven't had to deal with incorporating cookies, since I'm mostly front-end.
Thanks in advance!