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.
- β 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
-
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
- Install XAMPP or another PHP web server.
- Place the project folder inside the web server root (
htdocsfor XAMPP). - Start Apache and MySQL from XAMPP Control Panel.
- Open
http://localhost/automobile/index.phpin your browser. - Make sure the database
rental_systemexists and is connected inconnection.php.
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);- This project was created by me and styled to look like a real automobile rental booking experience.
- Update
connection.phpif your MySQL credentials differ. - Do not commit database credentials or production secrets.
- **BALJEET KUMAR YADAV
Created with care for a real rental system demo.





