Due October 18th, 10:00pm
Add a new user login page which takes a users credentials and, after validating them against the database, starts a session for that user. The session will keep track of when someone is logged in via the $_SESSION superglobal.
The behavior of the toolbar from Phase 1 should now change according to whether a user is currently logged in:
Since the toolbar is the same across the gallery, I would suggest abstracting the code generating it into a library function.
You need to add a message board to users' profile pages, which will require a couple of different extensions:
As with all homeworks, you will submit this project in a two-step process:
- First, place all source code (stylesheets, html, and php files) in a single p4 directory. You will submit this homework under the unique id p4 using the command-line turnin per the instructions on the course homepage.
- You will also put your assignment up on your personal webspace on z. Per the FAQ for z, you'll need to place these files in /u/z/users/cs105/YOURCSID/p4.