Old Colby Seal
CS 325: Web Programming
(Spring 2014)

Syllabus

Teachers

Assignments
Assignments


Other Pages

Project 2:
Manipulating Server Data


Assigned: Wed Mar 19 2014
Due: 10:59:00 AM on Tue Apr 08 2014
Team Size: 3 or 4
Language: HTML + CSS + PHP
Out of: 100 points


In this project, you will use PHP to store data on the server so that users can interact permanently with the site.

Part 0, 30 points: Include a hit counter on your homepage that shows how many times the page has been loaded.

Part 1, 30 points:

Include a second counter that keeps track of the number of hits from unique IP addresses. You can get the IP current viewer's address using: $_SERVER['REMOTE_ADDR']

Part 2, 40 points: Allow the visitor to enter some sort of number. This could either a rating of your product/service, or their (high) score in your game. You will keep track of all ratings/scores and on a relevant page display the minimum, maximum, and average of values entered.

Part 3, 0 points: Personal Page update: add a comment board. Visitors can post a comment. You should then display all those comments, along with the date and time the comment was made. Hint: Check out PHP's getdate function.

Submitting your Project:

Upload your code to our webserver (cslamp). Then one person should reply to the email I sent out. In that reply:

  • CC all members of your team.
  • include your team name.
  • include the URL where I can view your project on cslamp in a web browser.
After that email has been sent, all members of the team should forward that email back to me, and give percentages of how much they think each team member contributed towards this project.

Reminder: I won't open these emails until I grade the projects. If you ask a question in the email, I won't get to it until after the project due date.