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 :
- First create a file in /opt/lampp/htdocs as Flight.
- Then copy all this files into that.
- Then u have to setup the database.
- First create a Flight database:
create database Flight;
- Then mysql -u username -p password Flight < "path of setup_db.sql"
- 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';
- 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.