In this PHP assignment you will cteate a simple web page with
appropriate php code that will do the following :
It will allow the user to know if the Academic Computing Labs(ACL) are
currently open or closed. This will be
accomplished by using user
defined functions (wherever you deem appropriate), at least one, and
doing the following:
Use and include php file as with assignments #s 2 & 3 and in this
file keep the current times that the ACL labs are open .
This file will bestructured as follows on each line a different day of
the week, Sunday through Monday, along with the
times it is open on that day. Your program should allow the user
to enter a date, or range of dates, and it will return for
each of those days the times it is open. If it is closed on that date
entirely , just print closed on that day. The labs are open
at various times each day as posted in the php file mentioned above.
You should also write a php program to
maintain the file above. It should allow the manager ( anyone who
possess the php script code in this case) to
run your php program and be able to change the hours and times of being
open for any particular date or range
of dates and post the changes to the file containing the schedule. At
the top of the resultant pages in both cases,
your php programs should output the current date and time. and an
appropriate header for Academic Computing.