Skip to content

Latest commit

Β 

History

9 Commits

Folders and files

NameName
Last commit message
Last commit date
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Automobile Rental System

A clean and user-friendly PHP web application built for automobile rental booking. This project includes car and bike rental listings, signup/login, and booking confirmation pages β€” all designed to feel like a real rental service.

Features

  • βœ… Responsive home page with car and bike listings
  • βœ… User signup and login system
  • βœ… Booking pages for 3 car models and 3 bike models
  • βœ… Dynamic booking confirmation with pickup and drop-off dates
  • βœ… Database integration using MySQL
  • βœ… Contact section with real company details

Screenshots

Home Page

Home Page

Signup Page

Signup Page

Login Page

Login Page

Car Listings

Car Listings

Bike Listings

Bike Listings

Booking Confirmation

Booking Confirmation

My Bookings

My Bookings

Pages Included

  • index.php - Public homepage

  • signup.php - User registration

  • login.php - User login

  • indexlogin.php - Logged-in dashboard

  • car1.php, car2.php, car3.php - Car rental pages

  • bike1.php, bike2.php, bike3.php - Bike rental pages

  • bookingcar1.php, bookingcar2.php, bookingcar3.php - Car booking confirmation pages

  • bookingbike1.php, bookingbike2.php, bookingbike3.php - Bike booking confirmation pages

  • mybookings.php - Booking history page

  • aboutus.php - About us page

  • index.php - Public homepage

  • signup.php - User registration

  • login.php - User login

  • indexlogin.php - Logged-in dashboard

  • car1.php, car2.php, car3.php - Car rental pages

  • bike1.php, bike2.php, bike3.php - Bike rental pages

  • bookingcar1.php, bookingcar2.php, bookingcar3.php - Car booking confirmation pages

  • bookingbike1.php, bookingbike2.php, bookingbike3.php - Bike booking confirmation pages

  • mybookings.php - Booking history page

  • aboutus.php - About us page

Setup Instructions

  1. Install XAMPP or another PHP web server.
  2. Place the project folder inside the web server root (htdocs for XAMPP).
  3. Start Apache and MySQL from XAMPP Control Panel.
  4. Open http://localhost/automobile/index.php in your browser.
  5. Make sure the database rental_system exists and is connected in connection.php.

Database Setup

The project uses MySQL. Create the database with:

CREATE DATABASE IF NOT EXISTS rental_system;

The connection file is:

$host = 'localhost';
$user = 'root';
$pass = '';
$db = 'rental_system';
$con = mysqli_connect($host, $user, $pass, $db);

Notes

  • This project was created by me and styled to look like a real automobile rental booking experience.
  • Update connection.php if your MySQL credentials differ.
  • Do not commit database credentials or production secrets.

Author

  • **BALJEET KUMAR YADAV

Created with care for a real rental system demo.

About

Automobile Rental System πŸš— Developed as a 2nd year mini project in collaboration with my team. The system is designed to manage vehicle rentals, bookings, and user data efficiently using web technologies.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages