The objective of this assignment is to build a user-friendly, web
interface to your database. You may use PHP or another
language of your choice. I've put links to two PHP
references on the course home page.
As you did with homework 7, you should write an interface that demonstrates how you envision your database being used. You should include queries, insertions, and modifications among your options. For example, if you were writing an application for the student-course database, you might offer options such as
Handle errors that occur as a result of data entry. Include
some options that could lead to a violation of your primary or
foreign key constraints. The web page should display an
appropriate message if an error occurs.
Don't ask your user to enter SQL code.
You need to do a few things in order to make your web page
available on the world wide web:
1. Make your home directory executable (i.e., searchable)
by the public. (This gives access to the web server.)
chmod a+x .
2. Create a directory called "www" in your home directory.
mkdir www
3. Make the www directory readable and executable by the
public.
chmod a+rx www
4. All the files that you want to have available on the web
should be in the www directory. Each of those files must be
readable by the public.
chmod a+r <file-name>
5. You can create a home page for yourself by putting a file called "index.html" in the www directory. On your home page, you can create links to the files that access your database.
When that's all done, you should be able to access your web page
from a browser using the url
http://newoccs.cs.oberlin.edu/~username
No other submission is necessary. You can put your
assertion of the honor code somewhere on your home page.