I am new to php, i am doing a degree in Information systems, and i really need some help with a task i have been given. The task is as follows:
Create a registration page for clients. All that is required is an email address (no password). This email address should be stored on the client as a cookie, either directly of by using PHP’s session management (the latter approach will earn more marks).
Following the initial registration session, cookies (or sessions) should be used to identify customers returning to the site (we will ignore the unique identification problems that this poses). Create a basic home page with space for an animated banner advertisement, and incorporate a message of the form Welcome email_address.
Now in English, I take this to mean that i need to create a page that knows if there is a cookie set, and either, send the user to a login page if there isn't, or display a message saying "Welcome" and the user's email address. I really have no idea how to even begin, and was hoping that someone could give me a bit of help.
Thanks.