Computer science homeowrk
As you progress through the course, you will need a good understanding of the files in this folder. There is guidance below
on the database used for the login/registration application and a list of files included. Pay attention to what files
should and should not be modified. Each modifiable file has notes for code that should not be edited.
It is recommended that you view these files using Notepad++ (http://notepad-plus-plus.org/) or similar editor.
Database Structure:
email (Primary Key) - varchar(50) // Email address
fname - varchar(30) // First name
lname - varchar(30) // Last name
pw - varchar(20) // Password
id - varchar(50) // Session ID (Unix time value for valid session)
Files:
// DO NOT EDIT:
index.html // Redirect page to index.php
index.php // Sets up application page
include/view.html // Result if login is successful and navigation link is clicked - This is a test page
include/header.html // This sets the visual display of the page - Review content for testing and validation rules
include/desc.html // This is the default page when no navigation is active
// MODIFY AS NEEDED
include/main.js // This is the main JavaScript for the application - you will add validation rules here
include/main.php // This is the main script of the application - you will add validation and modifications here