Car Rental

You might also like

Download as doc, pdf, or txt
Download as doc, pdf, or txt
You are on page 1of 36

CHAPTER 1

1. INTRODUCTION

1.1 OVER VIEW OF THE PROJECT

In this Project Entitled as “ONLINE CAR RENTAL“. This project is designed so as to


be used by Car Rental Company specializing in renting cars to customers. It is an online system
through which customers can view available cars, register, view profile and book car.

It is going to implement the web site for different cities. Instead of providing car from
only one rental show room the application is acting as interface between user and the rental
showroom owners. There is no restriction of rental showrooms for our website. Means any
rental showroom owners want to display their car in our site then they simply register in our site
by providing personal information.

This application is providing some additional features for vendors to edit or delete their
Vehicles. Customers they are just search and place orders in our site. We are responsible for
communication between customer and the vendor and maintain the database. It also providing an
extra module that it accepts feedback from the customers. The application provides an extra
feature that is “Relocation Services”.

There are many rental systems are available in online. But, they are not providing all
different type of car at one place. Also many of them restricted to only one city. That means car
rental system in online deals only with cars. Also many of them are not providing effective
communication between customer and the vendor. In present rental systems restricted to only
one vendor means Vehicles are supplied only from one rental show room.

1
1.2 ORGANIZATION PROFILE

Circle Cabs in Pollachi,

Location and Overview:

Established in the year 2016, Circle Cabs in Pollachi, Pollachi is a top player in the
category Car On Hire For Self Driven in the Pollachi. This well-known establishment acts as a
one-stop destination servicing customers both local and from other parts of Pollachi. Over the
course of its journey, this business has established a firm foothold in it’s industry. The belief that
customer satisfaction is as important as their products and services, have helped this
establishment garner a vast base of customers, which continues to grow by the day. This business
employs individuals that are dedicated towards their respective roles and put in a lot of effort to
achieve the common vision and larger goals of the company. In the near future, this business
aims to expand its line of products and services and cater to a larger client base. In Pollachi, this
establishment occupies a prominent location in Pollachi. It is an effortless task in commuting to
this establishment as there are various modes of transport readily available. It is at Elango Nagar,
Avarampalayam, Pollachi North,, Near Ration Shop,, which makes it easy for first-time visitors
in locating this establishment. It is known to provide top service in the following categories: Car
On Hire For Self Driven.

Products and Services offered:

Circle Cabs in Pollachi has a wide range of products and services to cater to the varied
requirements of their customers. The staff at this establishment are courteous and prompt at
providing any assistance. They readily answer any queries or questions that you may have. Pay
for the product or service with ease by using any of the available modes of payment, such as
Cash. This establishment is functional from Open 24 Hrs - Open 24 Hrs.

2
CHAPTER 2

2. SYSTEM STUDY

2.1 EXISTING SYSTEM

If anybody want to rent a car from a particular city from their hometown, If one person is
going to another city, he want a Vehicles for rent before he reach his destination, that time any
possibility are available So the customer want to search in our web site.

The public vehicle is not the best option. Public vehicles are crowded, generally not
running on time e.g. trains, buses etc. Here is our main problem to reach at own place on time
with comfort. Thus, Car renting come up with a solution. Car Rental System specializing in
renting cars to clients. It is an online system through which clients can view available cars,
signup, login, view profile and book car.

2.1.1 DRAWBACKS OF EXISTING SYSTEM

 Waste of manpower for this system


 Publishing their offers and details through media

 Lot of paper work required.


 Man power was more.
 They limited to only one Vehicle and limited cities.
 No effective communication between user and the vendor.
 Vehicles limited to only one rental show room.

3
2.2 PROPOSED SYSTEM

The proposed system is a web based system which can be accessed by customer from
anywhere around the world. The system can offer more number Vehicles from vendor in
different locations.

A vendor directly registers into this system using this system user interface without any
manual approach. He can pay his amount for advertising his own rental Vehicle through
submitting the credit card number.

The proposed system can accept any type of Vehicle for rental, this system interface
support to the vendors to upload their Vehicle image into the system. A customer directly
interacts with this Vehicle image and gets necessary information regarding the rental Vehicles.

The proposed system accepts an online request from the customers to reserve any rental
system Vehicle for his own purpose. Administration play vital role here. Administrator can able
to communicate the reservation information of any Vehicle to that particular vendor using this
system.

2.2.1 ADVANTAGES OF PROPOSED SYSTEM

 Choose car s faster and easier at one place.


 User friendly.
 Alerts and real time reporting through Emails (to both vendor as well as buyer).
 Reports generated can be saved for future references.
 Promote your Vehicle, company or service to a vast audience
 Build consideration, awareness, and buyer response
 Customize ads to fit individual or company needs
 Convenient and easy to use

4
3. SYSTEM SPECIFICATION

3.1 HARDWARE CONFIGURATION

Platform : Windows 7

System : dual core processor

Ram : 512MB

Hard disk : 80GB

3.2 SOFTWARE SPECIFICATION

Web server : WAMP Server

Beck end : MYSQL

Server side scripting : PHP

Client side scripting : HTML

Designing Tools : Dreamweaver

5
SOFTWARE SPECIFICATION

HTML (HYPERTEXT MARKUP LANGUAGE)

HTML stands for Hypertext Markup Language, and it is the language in which, until


recently, virtually all Web pages were written. Now, don’t break out in hives when you hear the
word “language.” You don’t need complex logical or mathematical formulas to work with
HTML, and you don’t need to think like a programmer to use it.

Hypertext refers to the way in which Web pages (HTML documents) are linked together.
When you click a link in a Web page, you are using hypertext. It is this system of linking
documents that has made the World Wide Web the global phenomenon it has become. Markup
Language describes how HTML works. With a markup language, you simply “mark up” a text
document with tags that tell a Web browser how to structure it. HTML originally was developed
with the intent of defining the structure of documents (headings, paragraphs, lists, and so forth)
to facilitate the sharing of scientific information between researchers.

FOUR KEY CONCEPTS:

The first step toward understanding and working with HTML is learning the basic terms
that describe most of the functions of this language. You will come across these terms repeatedly
as you use HTML and if you understand them, you will have progressed a long way toward
comprehending HTML, not to mention XHTML.

ELEMENTS
All HTML pages are made up of elements. Think of an element as a container in which a
portion of a page is placed. Whatever is contained inside the element will take on the
characteristics of that element. For example, to identify a heading on a page, you would enclose
it in a heading element <h1> </h1>. If you want to create a table, you put the table information
inside the table element <table> </table>. To construct a form, you need the form element
<form> </form>.

6
TAGS
Often, you’ll find the terms element and tag used interchangeably. It’s fairly common,
but not strictly accurate. An element is made up of two tags: an opening tag and a closing tag.
Although it might seem somewhat picky to make this distinction, when you begin to work with
XHTML (Extensible Hypertext Markup Language), it will be a very important difference to
remember.
All tags are constructed the same way. The tag begins with a “less than” sign (<), then the
element name, followed by a “greater than” sign (>). For example, an opening tag for
the paragraph element would look like this: <p>. The only difference in a closing tag is that the
closing tag includes a slash (/) before the element name: </p>. Your content goes between the
tags. A simple paragraph might look like this :<p>this is an HTML paragraph. </p>
Some elements do not use closing tags because they do not enclose content. These are
called empty elements. For example, the line break element <br> does not require a closing tag.
In the case of empty elements, add a closing slash after the element name, like this: <br />. When
a browser sees the slash, it will recognize the element as one that does not need a separate,
closing tag.

PHP

PHP is a server-side scripting language designed for web development but also used as


a general-purpose programming language. As of January 2013, PHP was installed on more than
240 million websites (39% of those sampled) and 2.1 million web servers. Originally created
by Rasmus Lerdorf in 1995, the reference implementation of PHP is now produced by The PHP
Group. While PHP originally stood for Personal Home Page, it now stands for PHP: Hypertext
Preprocessor, a recursive backronym.

PHP code is interpreted by a web server with a PHP processor module, which generates
the resulting web page: PHP commands can be embedded directly into an HTML source
document rather than calling an external file to process data. It has also evolved to include
a command-line interface capability and can be used in standalone graphical applications.PHP

7
is free software released under the PHP License. PHP can be deployed on most web servers and
also as a standalone shell on almost every operating and platform, free of charge.

MYSQL

MySQL is the world's most popular open source database software, with over 100 million
copies of its software downloaded or distributed throughout its history. With its superior speed,
reliability, and ease of use, MySQL has become the preferred choice for Web, Web 2.0, SaaS,
ISV, Telecom companies and forward-thinking corporate IT Managers because it eliminates the
major problems associated with downtime, maintenance and administration for modern, online
applications.

Many of the world's largest and fastest-growing organizations use MySQL to save time and
money powering their high-volume Web sites, critical business systems, and packaged software
including industry leaders such as Yahoo!, Alcatel-Lucent, Google, Nokia, YouTube, Wikipedia,
and Booking.com.

The flagship MySQL offering is MySQL Enterprise, a comprehensive set of Vehicleion-


tested software, proactive monitoring tools, and premium support services available in an
affordable annual subscription. MySQL is a key part of LAMP (Linux, Apache, MySQL, PHP /
Perl / Python), the fast-growing open source enterprise software stack.

8
CHAPTER 4

4. SYSTEM DESIGN

4.1 INPUT DESIGN

Input design process is to design the various inputs needed into a machine-oriented
format. The main objective is to create an input layout that is easy to follow and to avoid
operator errors. The design phase includes designing of various input files used to develop the
system. Separate master data and entries has been developed and designed in this phase. Master
file contains relatively permanent details while the transaction files contain temporary details that
are updated in regular interval of time. The entry forms used are Customer details entry, Area
details entry, Parking entry and billing entry.

4.2 OUTPUT DESIGN

Computer output is the most important and direct source of information to the user.
Efficient intelligible output design should improve the system's relationship with the user and
health in decision-making.

Output design generally refers to the results generated by the system. For many end users
on the basis of the output the evaluate the usefulness of the application. Efficient software must
be able to produce and efficient effective reports.

9
4.3 DATA FLOW DIAGRAM

LEVEL 0

CONTEXT LEVEL DIAGRAM:

Online Register
Login
Admin car User
rental

10
LEVEL 1

DFD OF ADMIN:

Login
Admin
Booking

Invalid Login ID Admin View


  panel
View user list

View car list


User
Controls
Vehicle
Booking data base

View Maintenance
View, delete the
Details Update Vehicle
 
User data base Vehicle data base

11
LEVEL 2

DFD OF USER:

Login
User
Search
Vehicle
list
Invalid Login id View
  Vehicle
View product
Booking
Vehicle
User
profile Booking db

View, select
Update
 

Product data base User data base

12
4.4 ENTITY RELATIONSHIP

13
4.5 SYSTEM FLOW DESIGN

User / admin

Login Invalid

Valid

Managing

Register Vehicle Booking Brand


Detail Detail Detail detail

Storage

Register Vehicle Booking Brand


DB DB DB DB

Report

14
User Vehicle Booking Brand
Register report report report
report

4.6 TABLE DESIGN

Table name : admin

Primary key : admin_id

Description : This table is to store the admin login details.

Field Name Data Type Width Constant Description

admin_id Int 11 Primary key The unique id


username Varchar 15 Not null Username
email Varchar 25 Not null Login email id
password Varchar 10 Not null Login Password
reg_date Timestamp - Not null Registration date
updation_date Timestamp - Not null Update date

Table name : tblbooking

Primary key : bck_id

Description : This table is to store the Vehicles booking Details

Field Name Data Type Width Constant Description

Bck_Id Int - Primary key Product id


userEmail Varchar 20 Secondary key User Email
vehicleId Varchar 20 Secondary key Vehicle Id

15
fromDate Date / time - Not null From Date
ToDate Date / time - Not null To Date
Message Text 160 Not null Message
Status Varchar 03 Not null Status

Table name : tblvehicles

Primary key : ve_id

Description : This table is to store the vehicles Details

Field Name Data Type Width Constant Description


Ve_Id Int 11 Primary key Vehicles id
vehiclesTitle Varchar 15 Not null Vehicles Title
vehiclesBrand Varchar 20 Not null Vehicles Brand
vehiclesOverview Text 50 Not null Vehicles Overview
pricePerDay Int 05 Not null Price Per Day
fuelType Varchar 06 Not null Fuel Type
modelYear Int 04 Not null Model Year
seatingCapacity Int 02 Not null Seating Capacity
vimage1 Image - Not null Vehicles image1
vimage2 Image - Not null Vehicles image2
vimage3 Image - Not null Vehicles image3
vimage4 Image - Not null Vehicles image4
vimage5 Image - Not null Vehicles image5
airConditioner Varchar 03 Not null Air Conditioner
powerDoorLocks Varchar 03 Not null Power Door Locks
antiLockBrakingS Varchar 03 Not null AntiLock Braking System
brakeAssist Varchar 03 Not null Brake Assist

16
powerSteering Varchar 03 Not null Power Steering
driverAirbag Varchar 03 Not null Driver Airbag
passengerAirbag Varchar 03 Not null Passenger Airbag
powerWindows Varchar 03 Not null Power Windows
Cdplayer Varchar 03 Not null CD Player
centralLocking Varchar 03 Not null Central Locking
crashSensor Varchar 03 Not null Crash Sensor

Table name : users

Primary key : user_id

Description : This table is to store the user Details

Field Name Data Type Width Constant Description


User_Id Int 11 Primary key User id
fullName Varchar 20 Not null Full Name
Emailed Varchar 25 Not null Email Id
Password Varchar 10 Not null Password
contactNo Varchar 13 Not null Contact No
Dob Date - Not null Dob
Address Varchar 140 Not null Address
City Varchar 15 Not null City
Country Varchar 15 Not null Country

17
CHAPTER-5

5. SYSTEM TESTING

System testing is actually a series of different tests whose primary purpose is to fully
exercise the computer-based system. System testing is the state of implementation that is aimed
at assuring that the system works accuratssely and efficiently. Testing is the vital to the success
of the system. System testing makes the logical assumption that if all the parts of the system are
correct, the goal will be successfully achieved.

The objective of testing is as folows:

 Testing is the process of executing a program with the intention of finding an


error.
 A successful test is that one of the cover of undiscovered error.

The steps in Testing are:

 Unit Testing
 Validation Testing
 White Box Testing
 Black Box Testing

5.1 TESTING METHADALOGY

1. UNIT TESTING

18
Unit resting focuses on the verification efforts on the smallest unit of software design, the
module. This is also known as “Module Testing”. The modules are tested separately. This testing
is carried out during programming stage itself. In this testing each module is found to be working
satisfactory as regard to the expected output from the module.

2. VALIDATION TESTING

Here in the validation testing we want to check whether the given conditions to the text
box are working correctly. Because in the name place we want to enter the characters and the
special symbols only we should not enter the numbers in the name field. Here while on runtime
we entered numeric values in the string specified columns of product inwards. It raises error. In
this phase each module has been tested by wrong inputs, for example Employee Name should be
a character as well as their age should be in numbers.

3. WHITEBOX TESTING

White box testing, sometimes called glass-box testing is a test case design method that
uses the control structure of the procedural design to derive test cases. Using white box testing
methods, the software engineer can derive test cases.

 Guarantee that all independent paths within a module have exercised at least once.
 Exercise all logical decisions on their true and false sides.
 Execute all loops at their boundaries and within their operational bounds.
 Exercise internal data structures to ensure their validity.

4. BLACK BOX TESTING

19
Black box testing, also called behavioral testing, focuses on the functional requirements
of the software. That is, black box testing enables the software engineer to derive sets of input
conditions that will fully exercise all functional requirements for a program. Black box testing is
not an alternative to white box techniques. Rather it is a complementary approach that is likely to
uncover a different class of errors than white box methods. Black box testing attempts to find
errors in the following categories.

Test Cases

Test Test Test Test Code Expected Actual Status


No Description Procedure Result Result

TC01 User Enter invalid <ul><li><a Display Access Fail


Authentication register and href="login.html"><i blog Denied
login class="fa
fauser"></i><span>Re
gister</span></a></
li>
<li><a
href="login.html"><i
class="fa
falock"></i><span>Log
In</span></a></li>
</ul>
Else msgbox”invalid
user”
End if
TC02 User Enter valid <ul><li><a Display Show Success
Authentication register and href="login.html"><i blog blog
login class="fa
fauser"></i><span>Re
gister</span></a></
li>
<li><a
href="login.html"><i
class="fa
falock"></i><span>Log
In</span></a></li>
</ul>
Else msgbox”valid

20
user”
End if
TC03 Admin Enter invalid <ul><li><a Accept the Access Fail
Authentication admin login href="adminlogin.ph entry Denied
p">admin</a></li>< /ul>

TC04 Admin Enter valid <ul><li><a Accept the Simply Success


Authentication admin login href="adminlogin.ph entry accept
p">admin</a></li>< the enter
/ul>

CHAPTER 6

6. IMPLEMENTATION

A project in general is implemented after navigating the computer life cycle method of
the project. Various life cycle process such as requirement analysis, design phase, verification,
testing and finally followed by the implementation phase results in a successful project
management. The project which is basically a web based application has been successfully
implemented after passing various life cycle process mentioned above.

Security and authentication is maintained in both user level as well as the management
level. The data is stored in is highly reliable and simpler to use, the user level security is
managed with the help of password options and sessions, which finally ensures that all the
transactions are made securely.

Module:

 Admin
 User
 Adding Vehicle Details
 Viewing all Vehicle Details

6.1 MODULES AND ITS DESCRIPTIONS

Admin Module

21
This module is purely for an administrator of the site. He can view the users and dealers.
He can upload different Vehicle details for which dealer can ask or user can ask.

User Module

User can view all the Vehicle details which is uploaded by the admin as well as by the
dealer. He can give the feedback to the admin as well as to the dealer. He can book the Vehicle.

Adding Vehicle Details

Here Admin and dealer can add the Vehicle details which is useful for user as well as
user to calculate which Vehicle is more beneficial and best for booking.

Viewing All Vehicle Details

Here in this module, customer can view Vehicle details in order to buy the Vehicle. This
information will be helpful for the customers to know about Vehicle details.

22
CHAPTER 7

7. CONCLUSION AND FUTURE ENHANCEMENTS

7.1 CONCLUSION

The application works according to the restrictions provided in their respective browsers.
Further enhancements can be made to the application, so that the application functions very
interactive and useful to existing application .The application satisfies both the company and
Customer by eliminating more input. The speed of the transactions become more enough now.

The project entitled “Rental System” is developed using php as front end and My SQL
Server database in back end to computerize the process of online buying and selling of mobiles
in a showroom. This project covers only the basic features required.

However a lot of features are already incorporated in this project. The main beneficiaries
are both customers as well as ADMIN who consume more time while dealing with mobiles.
Moreover extra features can be identified and incorporated in the future

In order to accommodate additional features it will take longer time and effort to
understand the requirement and converting it into computerized system.

7.2 FUTURE ENHANCEMENTS

23
Due to the lack of time, the design part is not done so attractive. Further enhancements
can be made in designing the screens. Some more forms can also be added so as to better retrieve
the feedback details. Various other options can also be added for the better usability of project.

24
CHAPTER 9

BIBLIOGRAPHY

BOOK REFERENCES

 Jesus Castagnetto, Sascha Schumann, “Proffesional Php Programming”, Addison wosley


Publication, Fifth Edition.
 Jay Greenspan, Brad Bulgar, “Mysql/Php Database Applications”, Tata McGraw-Hill
Publishing Company, Third Edition.
 William Stallings, “Cryptography And Network Security”, Tata McGraw-Hill Publishing
Company, Third Edition.
 Bruce Schneier, “Applied Cryptography”, Pearson Education, Second Edition.
 Rogers Pressman, “Software Engineering and Applications”, Galgotie Publication, Sixth
Edition.
 Matt Doyle, Beginning PHP 5.3, Published by Wiley Publishing, Inc. 10475 Cross point
Boulevard, Indianapolis, IN 46256.
 Larry Ullman, PHP and MySQL for Dynamic Web Sites Fourth Edition , Peach pit Press, 1249
Eighth Street, Berkeley, CA 94710.

WEBSITE

 www.onlinetutorial.com
 www.cryptography.com
 www.Tenders.com
 http://www.php.net/manual/en/
 www.w3schools.com
 www.tutorialpoint.com
 www.bootstrap.com
 www.mysql.com

24
APPENDIX

SCREENSHOT

HOME PAGE
ADMIN PANEL
CREATE BRAND
USER LOGIN PAGE
USER REGISTRASION
SOURCE CODE

MY SQL AND DATABASE CONNECTIVITY

<? php

$mysql_hostname = "localhost";

$mysql_user = "root";

$mysql_password = "";

$mysql_database = "car";

$bd = mysql_connect($mysql_hostname, $mysql_user, $mysql_password) or die("Could not


connect database");

mysql_select_db($mysql_database, $bd) or die("Could not select database");

?>

<?php

session_start();

error_reporting(0);

include('includes/config.php');

// Code user Registration

if(isset($_POST['submit']))

$name=$_POST['fullname'];

$email=$_POST['emailid'];

$contactno=$_POST['contactno'];

$password=md5($_POST['password']);

$query=mysql_query("insert into users(name,email,contactno,password)


values('$name','$email','$contactno','$password')");
if($query)

echo "<script>alert('You are successfully register');</script>";

else{

echo "<script>alert('Not register something went worng');</script>";

}// Code for User login

if(isset($_POST['login']))

$email=$_POST['email'];

$password=md5($_POST['password']);

$query=mysql_query("SELECT * FROM users WHERE email='$email' and password='$password'");

$num=mysql_fetch_array($query);

if($num>0)

$extra="my-cart.php";

$_SESSION['login']=$_POST['email'];

$_SESSION['id']=$num['id'];

$_SESSION['username']=$num['name'];

$uip=$_SERVER['REMOTE_ADDR'];

$status=1;

$log=mysql_query("insert into userlog(userEmail,userip,status) values('".


$_SESSION['login']."','$uip','$status')");
$host=$_SERVER['HTTP_HOST'];

$uri=rtrim(dirname($_SERVER['PHP_SELF']),'/\\');

header("location:http://$host$uri/$extra");

exit();

else

$extra="login.php";

$email=$_POST['email'];

$uip=$_SERVER['REMOTE_ADDR'];

$status=0;

$log=mysql_query("insert into userlog(userEmail,userip,status) values('$email','$uip','$status')");

$host = $_SERVER['HTTP_HOST'];

$uri = rtrim(dirname($_SERVER['PHP_SELF']),'/\\');

header("location:http://$host$uri/$extra");

$_SESSION['errmsg']="Invalid email id or Password";

exit();

}}

?>

User login form:

<!DOCTYPE html>

<html lang="en">

<head>
<!-- Meta -->

<meta charset="utf-8">

<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">

<script src="assets/js/jquery.easing-1.3.min.js"></script>

<script src="assets/js/bootstrap-slider.min.js"></script>

<script src="assets/js/jquery.rateit.min.js"></script>

<script type="text/javascript" src="assets/js/lightbox.min.js"></script>

<script src="assets/js/bootstrap-select.min.js"></script>

<script src="assets/js/wow.min.js"></script>

<script src="assets/js/scripts.js"></script>

<!-- For demo purposes – can be removed on Vehicleion -->

<script src="switchstylesheet/switchstylesheet.js"></script>

<script>

$(document).ready(function(){

$(".changecolor").switchstylesheet( { seperator:"color"} );

$('.show-theme-options').click(function(){

$(this).parent().toggleClass('open');

return false;

</script>

<!-- For demo purposes – can be removed on Vehicleion : End -->

</body> </html>

You might also like