Home Work Assignment 12 (due 05 Nov 2016)

For this assignment you will write a php script. This script will create an online sign up sheet. There will be two columns. The first column will be a list of times. The other column will be the list that people can add their names to. They cannot remove their names once they have signed up.

Sign-Up Sheet
Time Name
8:00 am  
9:00 am  
10:00 am  
11:00 am  
12:00 pm  
1:00 pm  
2:00 pm  
3:00 pm  
4:00 pm  
5:00 pm  

When someone first views the page the information is read from the file signup.txt and displayed. The file is closed after reading. After someone signs up, that information gets saved in the same file called signup.txt. Anyone accessing this web page later will be able to see the names of all the people who signed up and the slots that are still vacant. Be sure to change the permission on the file signup.txt

chmod 666 signup.txt

Check before you update the signup.txt file, whether that time has already been taken or not. If that time slot has been taken produce a revised version of the web page showing the remaining slots (if any) that are still available.

After you complete your php script add the information to the table that you created in your index or welcome page. We should see your link before 11 pm on Saturday, 05 Nov 2016.