Thomas the Train website

Train website project for Web Programming (SOEN 287). It includes registration, log-in and logout, sessions, checking schedule and next 3 trains, and carpool buddy. Used HTML, CSS, JS, PHP, and MySQL.

Objectives Accomplished

Schedule & Next Train:
  • Requested information built from information stored on the server
  • Registration
  • Server side Validation
  • Saving info to database
Login/logout process
Carpooling Buddy:
  • Displaying list of possible candidates
    • Indicating which ones are already buddies
  • Removing some or all buddies
  • Adding buddies
  • Saving changes to database
Buying tickets
  • Accessing fare info from flat file
  • Submitting ticket request and storing to database
  • Displaying list of previously purchased fares, including the current purchase.

Development Settings Used

Used XAMPP, created a user for MySQL with all needed priviledges please see php/db_connect.php, and modify the server name, username and password to be used in the testing environment

The way i used Apache: I put the while a4_27699727 inside htdocs, then i run apache and MySQL service accessed home page through localhost/a4_27699727/index.php

dumped entire DB into a file, using Export in phpMyAdmin, saved in db_dump/

Screenshots

  • alt text
  • alt text
  • alt text
  • alt text
  • alt text

Built With

Share this project:

Updates