Skip to content

T3lo/FlightBooking

Repository files navigation

FlightBooking

It books a flight for the user. One stop flights also available.

I have used XAMPP for this. My OS is Debian. Steps for installation :

  1. First create a file in /opt/lampp/htdocs as Flight.
  2. Then copy all this files into that.
  3. Then u have to setup the database.
  4. First create a Flight database:

    create database Flight;

  5. Then mysql -u username -p password Flight < "path of setup_db.sql"
  6. Create a new user name ritwik and assign ritwik as the password

    CREATE USER 'ritwik'@'localhost' IDENTIFIED BY 'ritwik'; GRANT ALL PRIVILEGES ON * . * TO 'ritwik'@'localhost';

  7. Then you are good to go. In the index.php page the only available options are currently : Chennai, Kolkata, Delhi, Mumbai, Bangalore And try to give the date as 10th july, 2018. The script has timings for this day only.

About

It books a flight for the user. One stop flights also available. Get Email Confirmation

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published