Sunteți pe pagina 1din 46

CALL TAXI BOOKING SYSTEM

ABSTRACT
This Call taxi booking System is helpful for travel agencies for their call taxi s, taxis, and
their call taxi maintenance. This call Taxi booking project contains call taxi details; pick up call
taxi details. The main advantage of this web application is to provide accidental insurance for
their passengers who are using their call taxi s.

Here simply we are adding the source for Billing Details web form. This Billing application
explains about user name, call taxi types, call taxi numbers, total number of days and finally user
booking. This Online Call taxi booking project deals with an online system designed for booking
call taxis as per the requirements of the users at their convenience. The current system is manual
and it is time-consuming. It is also cost-ineffective, and the average return is low and
diminishing. We give user satisfaction the utmost priority and so give ample options to book call
taxi by entering details like their journey date and time, origin, pick-up point, destination and the
drop-off point they need to reach.

This project PHP is front end and MY-SQL is back end.


CHAPTER 1

INTRODUCTION

1.1 ABOUT THE PROJECT

Call taxi booking System is developed to manage all call taxi hiring work online. It useful for
call taxi booking agency that is specialized in Hiring call taxi s to users. Using this system
many car-booking agency are moving ahead to become a pioneer in the call taxi call taxi
booking industry by completely focusing on users. Using this system it is very easy for user to
book a call taxi online and car-booking agency can also track their booking online. So it is also
very useful for call taxi booking agency. It is an online system through which users can view
available call taxi s; register the call taxi s, view profile and book call taxi s. Mostly peoples
use call taxi service for their daily transportations need call taxi booking agency can also check
which call taxi is free for booking and which call taxi are on booking at present time. The
objective and scope of my project Online Call taxi or call taxi booking System is to record the
details various activities of user. It will simplify the task and reduce the paper work. Using this
call taxi booking management system call taxi owner can also become partner ofcall taxi
booking agency by giving their call taxi for booking. call taxi booking management system is a
web based application that allows users to book a call taxi online. From this system call taxi
Call taxi booking Company can manage all call taxi bookings and user information. User can
book call taxi and admin can confirm the booking and cancel the booking on the basis of
availability of the call taxi and drivers.

We have developed this system to produce a web-based system that allow user to register
and reserve call taxi online and for the company to effectively manage their Call taxi hiring
business. Presently call taxi booking agency do all work offline when a user comes to them
they take the booking order and call the call taxi driver to check their availability with their call
taxi if they manage to find call taxi for booking they confirm the order otherwise they cancel
the order as they have no call taxi for the booking. This process waste a lot of time of user and
also of call taxi booking agency and it also give bad name to the agency but with our system
call taxi agency can confirm the order within a minute by checking the availability of call taxi
for booking. So this call taxi booking system is helpful to ease user’s task whenever they need
to rent a call taxi or hire a call taxi.
CHAPTER II

2.SYSTEM SPECIFICATION

2.1 HARDWARE SPECIFICATION

PROCESSOR : PENTIUM I3 PROCESSOR

RAM : 4 GB

HARD DISK : 1 TB

MONITOR : AOC 15” COLOR MONITOR

KEYBOARD : LOGITECH 104 KEYS

MOUSE : LOGITECH OPTICAL MOUSE

2.2 SOFTWARE SPECIFICATION

OPERATING SYSTEM : WINDOWS 10

FRONT END : PHP

BACK END : MY-SQL

SOFTWARE DESCRIPTION

WHAT IS PHP?

PHP started out as a small open source project that evolved as more and more people found
out how useful it was. Rasmus Lerdorf unleashed the first version of PHP way back in 1994.

 PHP is a recursive acronym for "PHP: Hypertext Preprocessor".


 PHP is a server side scripting language that is embedded in HTML. It is used to manage
dynamic content, databases, session tracking, even build entire e-commerce sites.
 It is integrated with a number of popular databases, including MySQL, PostgreSQL,
Oracle, Sybase, Informix, and Microsoft SQL Server.
 PHP is pleasingly zippy in its execution, especially when compiled as an Apache module
on the UNIX side. The MySQL server, once started, executes even very complex queries
with huge result sets in record-setting time.
 PHP supports a large number of major protocols such as POP3, IMAP, and LDAP. PHP4
added support for Java and distributed object architectures (COM and CORBA), making
n-tier development a possibility for the first time.
 PHP is forgiving: PHP language tries to be as forgiving as possible.
 PHP Syntax is C-Like.
COMMON USES OF PHP

 PHP performs system functions, i.e. from files on a system it can create, open, read,
write, and close them.
 PHP can handle forms, i.e. gather data from files, save data to a file, through email you
can send data, return data to the user.
 You add, delete, modify elements within your database through PHP.
 Access cookies variables and set cookies.
 Using PHP, you can restrict users to access some pages of your website.
 It can encrypt data.
CHARACTERISTICS OF PHP

Five important characteristics make PHP's practical nature possible −

 Simplicity
 Efficiency
 Security
 Flexibility
 Familiarity
In order to develop and run PHP Web pages three vital components need to be installed
on your computer system.
 Web Server − PHP will work with virtually all Web Server software, including
Microsoft's Internet Information Server (IIS) but then most often used is freely
available Apache Server. Download Apache for free here
− http://httpd.apache.org/download.cgi
 Database − PHP will work with virtually all database software, including Oracle and
Sybase but most commonly used is freely available MySQL database.
 PHP Parser − In order to process PHP script instructions a parser must be installed
to generate HTML output that can be sent to the Web Browser. This tutorial will
guide you how to install PHP parser on your computer.
PHP PARSER INSTALLATION
Before you proceed it is important to make sure that you have proper environment setup on
your machine to develop your web programs using PHP.
Type the following address into your browser's address box.If this displays a page showing
your PHP installation related information then it means you have PHP and Web server installed
properly. Otherwise you have to follow given procedure to install PHP on your computer.
This section will guide you to install and configure PHP over the following four platforms –
 PHP Installation on Linux or Unix with Apache
 PHP Installation on Mac OS X with Apache
 PHP Installation on Windows NT/2000/XP with IIS
 PHP Installation on Windows NT/2000/XP with Apache
Apache Configuration
If you are using Apache as a Web Server then this section will guide you to edit Apache
Configuration Files.
PHP.INI File Configuration
The PHP configuration file, php.ini, is the final and most immediate way to affect PHP's
functionality.
Windows IIS Configuration
To configure IIS on your Windows machine you can refer your IIS Reference Manual shipped
along with IIS.
Escaping to PHP
The PHP parsing engine needs a way to differentiate PHP code from other elements in the
page. The mechanism for doing so is known as 'escaping to PHP'. There are four ways to do this

Canonical PHP tags
The most universally effective PHP tag style is −<P>. If you use this style, you can be positive
that your tags will always be correctly interpreted.
Short tags are, as one might expect, the shortest option You must do one of two things to
enable PHP to recognize the tags −
 Choose the --enable-short-tags configuration option when you're building PHP.
 Set the short_open_tag setting in your php.ini file to on. This option must be disabled to
parse XML with PHP because the same syntax is used for XML tags.
ASP-style tags
ASP-style tags mimic the tags used by Active Server Pages to delineate code blocks. To use
ASP-style tags, you will need to set the configuration option in your php.ini file.
HTML script tags
Commenting PHP Code
A comment is the portion of a program that exists only for the human reader and stripped out
before displaying the programs result. There are two commenting formats in PHP −
 Single-line comments − They are generally used for short explanations or notes relevant
to the local code. Here are the examples of single line comments.
 Multi-lines comments − They are generally used to provide pseudocode algorithms and
more detailed explanations when necessary. The multiline style of commenting is the
same as in C.

Frame Work is collection of software or program, that trigger off easy coding and implementing
the code. It helps to programmer to achieve goals in short period of time. If PHP code is
integrated with frame works, you can do anything with php coding skills.
Some of frame works
FuelPHP
Fuel PHP works based on Model View Control and having innovative plug ins. FuelPHP
supports router based theory where you might route directly to a nearer the input Uri, making
the closure the controller and giving it control of further execution.
CakePHP
Cake PHP is a great source to build up simple and great web application in an easy way.
Some great features which are inbuilt in php are input validation, SQL injection prevention that
keeps you application safe and secure.
FEATURES
 Build Quickly
 No need to configure
 MIT license
 MVC Model
 Secure
MYSQL DEFINITION

A database is a separate application that stores a collection of data. Each database has
one or more distinct APIs for creating, accessing, managing, searching and replicating the data
it holds

Other kinds of data stores can be used, such as files on the file system or large hash
tables in memory but data fetching and writing would not be so fast and easy with those types
of systems.

So nowadays, we use relational database management systems (RDBMS) to store and


manage huge volume of data. This is called relational database because all the data is stored into
different tables and relations are established using primary keys or other keys known as foreign
keys.

A Relational Database Management System (RDBMS) is a software that:

 Enables you to implement a database with tables, columns and indexes.


 Guarantees the Referential Integrity between rows of various tables.
 Updates the indexes automatically.
 Interprets an SQL query and combines information from various tables.
RDBMS Terminology:Before we proceed to explain MySQL database system, let's revise few
definitions related to database.

 Database: A database is a collection of tables, with related data.


 Table: A table is a matrix with data. A table in a database looks like a simple
spreadsheet.
 Column: One column (data element) contains data of one and the same kind, for
example the column postcode.
 Row: A row (= tuple, entry or record) is a group of related data, for example the data of
one subscription.
 Redundancy: Storing data twice, redundantly to make the system faster.
 Primary Key: A primary key is unique. A key value can not occur twice in one table.
With a key, you can find at most one row.
 Foreign Key: A foreign key is the linking pin between two tables.
 Compound Key: A compound key (composite key) is a key that consists of multiple
columns, because one column is not sufficiently unique.
 Index: An index in a database resembles an index at the back of a book.
 Referential Integrity: Referential Integrity makes sure that a foreign key value always
points to an existing row.
MYSQL DATABASE:

MySQL is a fast, easy-to-use RDBMS being used for many small and big businesses. It
is developed, marketed, and supported by MySQL AB, which is a SweHall company. MySQL is
becoming so popular because of many good reasons:

 MySQL is released under an open-source license. So you have nothing to pay to use it.
 MySQL is a very powerful program in its own right. It handles a large subset of the
functionality of the most expensive and powerful database packages.
 MySQL uses a standard form of the well-known SQL data language.
 MySQL works on many operating systems and with many languages including PHP,
PERL, C, C++, JAVA, etc.
 MySQL works very quickly and works well even with large data sets.
 MySQL is very friendly to PHP, the most appreciated language for web development.
 MySQL supports large databases, up to 50 million rows or more in a table. The default
file size limit for a table is 4GB, but you can increase this (if your operating system can
handle it) to a theoretical limit of 8 million terabytes (TB).
 MySQL is customizable. The open-source GPL license allows programmers to modify
the MySQL software to fit their own specific environments.
 MySQL works very well in combination of various programming languages like PERL,
C, C++, JAVA and PHP. Out of these languages, PHP is the most popular one because
of its web application development capabilities.
 This tutorial focuses heavily on using MySQL in a PHP environment. If you are
interested in MySQL with PERL, then you can look into PERL and MySQL Tutorial.
 PHP provides various functions to access MySQL database and to manipulate data
records inside MySQL database. You would require to call PHP functions in the same
way you call any other PHP function.
When writing PHP applications that need to connect to the MySQL server there are
several API options available. This document discusses what is available and how to select the
best solution for your application.
CHAPTER III

SYSTEM ANALYSIS

3.1 EXISTING SYSTEM

Existing Call taxi booking project system requires lots of physical and mental efforts as call
taxi are booked manually on call. Many chances of human errors such as wrong entry of journey
date, time and location are recorded manually in a register by an employee thereby increasing
chances of misregistration. No clear communication among drivers, passengers and the office
leading to a denial of service. Punctuality is not maintained and faster accessibility of call taxi
not possible due to traffic and miscommunication issues. Level of sharing of information is
weak. Users suffer a lot in terms of comfort and safety. Maintaining and assigning
responsibilities to the call taxi drivers by the service providers becomes difficult in the long run.

3.2 PROPOSED SYSTEM

This call taxi booking system is an online system and all data is centralized which has
overcome the Sharing problem in previous system. We provide free registration for the call taxi
owners. And we proved free service to users who want to book acall taxior call taxi. As data is
maintained online, it is easy for a person to update the details, which has overcome the tedious
updating in previous system.call taxibooking management is easy and performance is good. Here
the traveler can book a call taxi , taxi andcall taxiby viewing all the call taxi details and pricing
details available, according to selected city and area. It is the reliable service provided to both
users and travel agencies. Mainly the system has automated the Transportation Process.
Call taxi Booking management system has the following services:-
Users registration: A registration portal to hold user details, monitor their transaction and used
same to offer better and improve services to them.Group bookings: Allows the user to book
space for a group in the case of weeding or corporate parties or meetings. Availability: The
software acts as an office that is open 24/7.
Call taxi Search-
Users can search call taxi for a particular location online. To book acall taxiuse has to login
the system. Users required entering source, Destination, & placing where he wants to go.
Registration Process-
User must be registered before booking a call taxi. Before booking acall taxiuser have to
enter his contact information like name, address, and mobile number. Only a valid user can login
the system and book thecall taxiby giving his picking up place and drop off place. All the data
supply by the user will be stored in database and it will be used for further validations and
authenticated. Login names and password will be stored in the database.

3.3 MODULES:

The advancement in Information Technology and internet penetration has greatly enhanced

various business processes and communication between companies

(services provider) and their users of whichcall taxirental industry is not left out. Thiscall

taxiRental System is developed to provide the following Modules:

 Admin

 Users

 Booking

Admin;

Admin module is mainly for the owner of the system. This module performs the work of
regular checking process. Everyone needs current information about anything. So, this module is
responsible for updating the information continuously if any, in the system so that one can find
timely information. But the main function of this module is to handle security of this system.
Different types of authentication and authorization process is performed for this purpose.

Users:

User module is for front page of this system. It is the main page of the system in which all the
links of this system are kept. Now the main thing is how to make the home page interactive and
user friendly so that there should not be any problem for the user. This is the task of the system
administrator to make the home page Interactive.

Booking:

In this module user can book the call taxi particular date call taxi is available or not. search the
booking availability of the user.
CHAPTER IV

4. SYSTEM DESIGN AND DEVELOPMENT

The design is a solution, the translation of requirement into ways of meeting them. The
design will determine the success of the system. Based on the proposed system objectives, the
major modules are identified and the operations to be carried out are determined. In the design
phase of the system the user interaction screen, data base tables, inputs, outputs and screen are
designed by using all the necessary fields in a compact manner. The redundancy and duplication
of fields are avoided.

System design involves first logical design and then physical constructions of the system.
After logical design, a detailed specification of the system, which describes the inputs, outputs,
files are developed. During the design phase of the system the following factors are considered.

 Data Floors – the movement of data into, around and out of the system.
 Data Stores- temporary and permanent collection of data.
 Processors- activities to accept manipulate and deliver data and information
 Procedures- methods and routines to achieve the intended results

The importance of software design can be stated with a single word quality. Design is placed
where quality is fostered in software development. Design is the only way whose requirements
are actually translated into a finished software product or system.

4.1 FILE DESIGN

This system contains the menus for various kinds of operations. Menus and Files are created
for displaying the information about user and company. Information systems in business are file
and database oriented data is accumulated into files that are proposed or maintained by the system. The
system analyst is responsible for designing files, determining their contents and selecting a
method for organizing the data.
Menu driven programming is very easy to access the programs. In such a way the system is
developed. This system contains the following menus:

 HOME
 ADMIN
 USER LOGIN
 USER REGISTRATON

4.2 INPUT DESIGN

Input Design is one of the most expensive phases of the operation of computerized system and
is often the major problem of a system. A large number of problems with a system can usually be
tracked backs to fault input design and method.

Needless to say, therefore, that the input data is the lifeblood of a system and have to be
analyzed and designed with at most case and consideration.

The decisions made during the input design are

 To provide cost effective method of input


 To achieve the highest possible level of accuracy
 To ensure that input is understand by the user.
System analysis decide the following input design details like, what data to input, what
medium to use, how the data should be arranged or coded, data items and transaction needing
validations to detect errors and at last the dialogue to guide user in providing input.

Input data of a system may not be necessarily is raw data captured in the system from scratch.
These can also be the output of another system or subsystem. The design of input covers all
phases of input from the creation of initial data to actual entering the data to the system for
processing. The design of input involves identifying the data needed, specifying the
characteristics of each data item, capturing & preparing data for computer processing and
ensuring correctness of data.

Input designs are forms which as follows,


 User login-user name, password as input.
 Admin login - user name and password as input.
 User registration- name, email, mobile, address, user name and password.
4.3 OUTPUT DESIGN

Output Design generally refers to the result and information that are generated by the system
for many end-user, output is the main reason for developing the system and the basis on which
they evaluate the usefulness of the application.

The objective of a system finds its shape in terms of the output. The analysis of the objective
of a system leads to determination of output. Output of a system can face various forms. The
most common are report, screen display, printed forms, graphical drawing etc., the output also
vary in terms of their contents frequency, timing & format. The users of the output from a system
are the justification for its existence. If the outputs are inadequate in any way, the system is the
itself is adequate. The basic requirement of output are that it should be accurate, timely and
appropriate, in terms of content, medium and layout for its intended purpose.

The output design contains the following reports

 Admin details
 User Details
 Car Booking Details
 Call taxi listing details
 View booking details
 Addcall taxidetails
 Call taxi booking details

When designing output, system analysis most accomplish thing like, to determine what
information to be present, to decide whether to display or print the information and select and
output medium and to decide how to distribute the output to intended recipients.
External outputs are those destinations will be outside the organization and which require
special attention as they project the image of the organization.
Internal outputs are those whose destination is within the organization. It is to be carefully
designed, as they are the user main interface with the system.

4.4 DATABASE DESIGN

A database is an organized mechanism that has the capability of storing information through
which a user can retrieve stored information in an effective and efficient manner. The data is the
purpose of any database and must be protected.

The database design is a two level process. In the first step, user requirements are gathered
together and a database is designed which will meet these requirements as clearly as possible.
This step is called Information Level Design and it is taken independent of any individual
DBMS.

In the second step, this Information level design is transferred into a design for the specific
DBMS that will be used to implement the system in question. This step is called Physical Level
Design, concerned with the characteristics of the specific DBMS that will be used. A database
design runs parallel with the system design. The organization of the data in the database is aimed
to achieve the following two major objectives.

 Data Integrity
 Data independence
Normalization is the process of decomposing the attributes in an application, which results in
a set of tables with very simple structure. The purpose of normalization is to make tables as
simple as possible. Normalization is carried out in this system for the following reasons.

 To structure the data so that there is no repetition of data , this helps in saving.
 To permit simple retrieval of data in response to query and report request.
 To simplify the maintenance of the data through updates, insertions, deletions.
 To reduce the need to restructure or reorganize data which new application requirements
arise.
RELATIONAL DATABASE MANAGEMENT SYSTEM (RDBMS):
A relational model represents the database as a collection of relations. Each relation resembles
a table of values or file of records. In formal relational model terminology, a row is called a
tuple, a column header is called an attribute and the table is called a relation. A relational
database consists of a collection of tables, each of which is assigned a unique name. A row in a
tale represents a set of related values.

RELATIONS, DOMAINS & ATTRIBUTES:

A table is a relation. The rows in a table are called tuples. A tuple is an ordered set of n
elements. Columns are referred to as attributes. Relationships have been set between every table
in the database. This ensures both Referential and Entity Relationship Integrity. A domain D is a
set of atomic values. A common method of specifying a domain is to specify a data type from
which the data values forming the domain are drawn. It is also useful to specify a name for the
domain to help in interpreting its values. Every value in a relation is atomic, that is not
decomposable.

RELATIONSHIPS:

Table relationships are established using Key. The two main keys of prime importance are
Primary Key & Foreign Key. Entity Integrity and Referential Integrity Relationships can be
established with these keys. Entity Integrity enforces that no Primary Key can have null values.
Referential Integrity enforces that no Primary Key can have null values.

 Referential Integrity for each distinct Foreign Key value, there must exist a matching Primary
Key value in the same domain. Other key are Super Key and Candidate Keys.
 Relationships have been set between every table in the database. This ensures both
Referential and Entity Relationship Integrity.
TABLE DESIGN:

TABLE NAME:admin

PRIMARY KEY :id

Field name Data type size


Id Int 10
User name Char 25
Password Char 25

TABLE NAME car

PRIMARY KEY:id

Field name Data type size


Id Int 10
Sno Char 25
Brand Char 25
Model Int 25
Cname Char 25
Millage Int 25
Rent Int 25
Path char 25

Status char 25

TABLE NAME : call taxibooking

PRIMARY KEY :id


Field name Data type size
Id Int 10
Brand Char 25
Model Int 25
User name Char 25
Cname Char 25
Millage Int 25
No of days Char 25
Total Char 25
Bdate Char 25
Rent Int 25
Path char 25

Status char 25

TABLE NAME :users

PRIMARY KEY :id

Field name Data type size


Id Int 10
Name Char 25
Email Char 25

Address Char 25
User name Char 25
Password Char 25
CHAPTER V

5. SYSTEM TESTING AND IMPLEMENTATION

SYSTEM TESTING
One of the essential parts of the software development demonstrates the correctness of the
software program. This accomplished through various verifications, validation and testing
activities.
VERIFICATION
It is demonstration of the consistency, completeness and correctness of the software as it
evolves through each development stage.
VALIDATION
It is demonstrating that the finished software system correctly meets user needs and
requirements.
TESTING
It is the technique of demonstrating program correctness by executing the program which a
set of sample input data cases.
The entire tests, which were felt to be required, have been followed in the case or Ordering.
The following were carried out after the completion of this project.
System testing is the stage of implementation which is aimed at consuming that the system
accurately and efficiency before live operation commences. Testing is vital to the system. A
series of test are performed for the proposed system is ready for user acceptance testing.
Testing steps are:
 Unit testing
 Integration testing
 User acceptance testing
 Security testing
UNIT TESTING

This is the smallest testable unit of a computer system and is normally tested using the white
box testing. The author of the programs usually carries out unit tests.

The procedure level testing is made first. By giving improper inputs, the errors occurred
are noted and eliminated. Then the web form level testing is made. For example storage of
data to the table in the correct manner

In the company as well as seeker registration form, the zero length username and
password are given and checked. Also the duplicate username is given and checked. The
input fields are individually checked for minimum and maximum range o f valid data. The
dates are entered in wrong manner and checked.

INTEGRATION TESTING

In integration testing, the different units of the system are integrated together to form the
complete system and this type of testing checks the system as whole to ensure that it is doing
what is supposed to do. The testing of an integrated system can be carried out top-down, bottom-
up, or big-bang. In this type of testing, some parts will be tested with white box testing and some
with black box testing techniques. This type of testing plays very important role in increasing the
systems productivity. We have checked our system by using the integration testing techniques.

USER ACCEPTANCE TESTING


User Acceptance of a system is the key factor for the success of any system. It tested for
user acceptance by constantly keeping on touch with the prospecting system users at the time of
developing and making changes whenever required.
SECURITY TESTING
During this testing, the tester plays the role of the individual who desires to penetrate the
system. The tester may attempted to acquire passwords through external clerical means and
Amy attack the system with customs S/W designed to breakdown any defenses that have been
constructed. The tester may also overwhelm the system there by denying service to others and
may purposely cause system errors to penetrate during recovery and may browse though insecure
hoping to find key to system entry.
SYSTEM TESTING

A part from testing the system to validate the functionality of software against the
requirements, it is also necessary to test the non-functional aspect of the system. Some examples
of non-functional tools include tests to check performance, data security, usability/user
friendliness, volume, load/stress that we have used in our project to test the various modules.

ACCEPTANCE TESTING

After the developer has completed all rounds of testing and he is satisfied with the system,
then the user takes over and re-tests the system from his point of view to judge whether it is
acceptable according to some previously identified criteria. This is almost always a tricky
situation in the project because of the inherent conflict between the developer and the user. In
this project, it is the job of the bookstores to check the system that whether the made system
fulfills the goals or not.

SYSTEM IMPLEMENTATION
Once the development is over, the application will be made available on the machines used
by the online shopping system. This will be the first phase of the implementation where the
testing will be done with random sample data. After the reports have been generated to the
satisfaction of the users, real data will be used in the post implementation phase.
During the post implementation process, the system developed would be test with real time
data. If the system were being computerized from a manual system, data conversion would not
be required. If the system is being upgraded from an existing system and if it’s feasible to update
the data into the developed system, then appropriate procedures for data conversion from the old
system to the new enhanced system has to be done.
As the online shopping system is developed in PHP, the data that already exist in manual
system has to be converted for the implementation of the new system. The process that was
undergone to do those conversions of data from manual to access. The database file was copied
into CD Drive, Pen drive, and another External Devices from the server.
The file was opened up in one of the local nodes in manual and the data was converted to a text
file. A control file has to be written which helps in decoding the text file’s data to the access
tables. The control file contains coding specifying the position of occurrence of the fields in the
text file.

user
Call taxi
Id
id
Name
cName
Email Book
millage
Mobile
model
address
rent
no of days

admin
id
user name
password

4.1 ER diagram
Data flow diagram

Level 0 User ID Success Dashboard


Admin Login Call taxi booking
Password
system

Invalid Entry

Exit
Level 1

admin

Manage call taxi


booking

Manage
booking
call taxi
booking

View booking

User
b ooking details
Registration
Details

Booking date

Manage
Registration Booking details
\
from booking

Processed data

Participant user
User Login

View Events

Level 2 View
Booking details
booking
details Details

Book or cancel User details


event

book call taxi

Bug User
feedback/me
Imported eting
Booking call
taxi

Data stored
Call taxi booking
details updated
tdatabase database

Admin
CHAPTER V
5. CONCLUSION

The project “call taxi booking system” has been developed in PHP.PHP as front end and MY-

SQL as back end. It is user friendly and provides necessary information. Necessary information

needed for later reference is also stored. Varies reports as needed by the company are generated.

A person who has little knowledge about computer, about PHP and production field also

can use this software efficiently. Though enhancement can be done to this software. The

software developed is well secured with user password and this doesn’t allow any one to enter

into the software. This software can be operated easily. Since the success of the project depends

largely on how accurately the problem is defined, thoroughly investigated and properly carried

out through the choice of solutions, the existing system is analyzed in detail.
SAMPLE CODING

ADMIN.PHP

<?php
require_once "connect.php";
$msg = "";
if(isset($_REQUEST['btnSubmit']))
{
$name = $_REQUEST['name'];
$email = $_REQUEST['email'];
$mobile = $_REQUEST['mobile'];
$address = $_REQUEST['address'];
$username = $_REQUEST['username'];
$password = $_REQUEST['password'];

$query = "insert into user


(name,email,mobile,address,username,password) values
('$name','$email','$mobile','$address','$username','$password')";
if(mysql_query($query))
{
echo '<script language="javascript">';
echo 'alert("Registered Successfully!")';
echo '</script>';

}
else
{
echo '<script language="javascript">';
echo 'alert("Unable to Save!")';
echo '</script>';
}
}
?>
<!DOCTYPE html>
<!--[if lt IE 7 ]> <html class="ie6"> <![endif]-->
<!--[if IE 7 ]> <html class="ie7"> <![endif]-->
<!--[if IE 8 ]> <html class="ie8"> <![endif]-->
<!--[if IE 9 ]> <html class="ie9"> <![endif]-->
<!--[if (gt IE 9)|!(IE)]><!-->

<html lang="en" class=""><!--<![endif]-->


<head>
<meta charset="utf-8">

<meta http-equiv="X-UA-Compatible" content="IE=edge">


<meta name="viewport" content="width=device-width, initial-
scale=1">

<title>Car Rental</title>

<!-- Standard Favicon -->


<link rel="icon" type="image/x-icon" href="images/favicon.ico" />

<link rel="stylesheet" type="text/css"


href="libraries/lightslider/lightslider.min.css" />

<link rel="stylesheet" type="text/css"


href="revolution/css/settings.css">

<!-- RS5.0 Layers and Navigation Styles -->


<link rel="stylesheet" type="text/css"
href="revolution/css/layers.css">
<link rel="stylesheet" type="text/css"
href="revolution/css/navigation.css">

<!-- Library - Bootstrap v3.3.5 -->


<link rel="stylesheet" type="text/css" href="libraries/lib.css">

<!-- Custom - Theme CSS -->


<link rel="stylesheet" type="text/css" href="style.css">
<link rel="stylesheet" type="text/css" href="css/plugins.css">
<link rel="stylesheet" type="text/css" href="css/navigation-
menu.css">
<link rel="stylesheet" type="text/css" href="css/shortcode.css">

<!--[if lt IE 9]>
<script src="js/html5/respond.min.js"></script>
<![endif]-->

</head>

<body data-offset="200" data-spy="scroll" data-target=".ow-


navigation">
<div class="main-container">

<!-- Header Section -->


<header id="header" class="header-section container-fluid
no-padding">
<!-- Container -->
<div class="container">
<!-- Top Header -->
<div class="top-header container-fluid no-
padding">
<div class="col-md-8 col-sm-12 col-xs-12
top-icons no-padding">
<br><br><br>
</div>
</div><!-- Top Header /- -->
<!-- nav -->
<nav class="navbar navbar-default ow-navigation">
<div class="navbar-header">
<button aria-controls="navbar" aria-
expanded="false" data-target="#navbar" data-toggle="collapse"
class="navbar-toggle collapsed" type="button">
<span class="sr-only">Toggle
navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a href="index.php" class="navbar-
brand"><img src="images/logo.png" alt="Logo" /></a>
</div>

<div class="navbar-collapse collapse


navbar-right" id="navbar">
<ul class="nav navbar-nav">
<li><a
href="index.php">Home</a></li>
<li><a href="user-
registration.php">User Registration</a></li>
<li><a href="user-login.php">User
Login</a></li>
<li class="active"><a href="admin-
login.php">Admin Login</a></li>
</ul>
</div><!--/.nav-collapse -->
</nav><!-- nav /- -->

</div><!-- Container /- -->


</header><!-- Header Section /- -->

<main>

<!-- Page Banner -->


<div class="container-fluid no-padding page-banner">
<div class="padding-90"></div>
<!-- Container -->
<div class="container">
<h3>Admin Login</h3>
<ol class="breadcrumb">
<li><a href="index.php">Home</a></li>
<li class="active">Admin Login</li>
</ol>
</div><!-- Container /- -->
<div class="padding-100"></div>
</div><!-- Page Banner /- -->

<!-- Contact Section -->


<div class="container-fluid no-padding contact-section"
style="background-color:#CCC">
<!-- Container --><br><br>
<div class="container">

<form class="row" method="post" action="admin-


action.php">

<div class="form-group col-md-6 col-sm-6 col-xs-


12">
<input type="text" name="username"
required="" placeholder="Username" class="form-control">
<input type="password" name="password"
required="" placeholder="Password" class="form-control">
</div>

<div class="col-md-12 col-sm-12 col-xs-12">


<button type="submit"
name="btnSubmit">Login</button>
</div>
<div class="alert-msg" id="alert-
msg"></div>
</form>
</div>
</div>

<div class="padding-100"></div>
<div class="padding-30"></div>

</main>

<!-- Footer Section -->


<footer class="footer-main container-fluid no-padding">
<!-- Copyright -->
<div class="container-fluid no-padding copyright">
<p><i class="fa fa-copyright"></i> COPYRIGHTS
2019. ALL RIGHTS RESERVED</p>
</div><!-- Copyright /- -->
</footer><!-- Footer Section /- -->

</div>
<!-- JQuery v1.12.4 -->
<script src="js/jquery-1.12.4.min.js"></script>

<!-- Library - Js -->


<script src="libraries/lib.js"></script>
<script src="libraries/lightslider/lightslider.min.js"></script>

<!-- RS5.0 Core JS Files -->


<script type="text/javascript"
src="revolution/js/jquery.themepunch.tools.min838f.js?rev=5.0"></scrip
t>
<script type="text/javascript"
src="revolution/js/jquery.themepunch.revolution.min838f.js?rev=5.0"></
script>
<script type="text/javascript"
src="revolution/js/extensions/revolution.extension.video.min.js"></scr
ipt>
<script type="text/javascript"
src="revolution/js/extensions/revolution.extension.slideanims.min.js">
</script>
<script type="text/javascript"
src="revolution/js/extensions/revolution.extension.layeranimation.min.
js"></script>
<script type="text/javascript"
src="revolution/js/extensions/revolution.extension.navigation.min.js">
</script>

<!-- Library - Theme JS -->


<script src="js/functions.js"></script>
</body>
</html>
USER.PHP

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"


"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Login Action</title>
</head>

<body>
<?php
session_start();

require_once 'connect.php';

// Define $username and $password


$username=$_POST['username'];
$password=$_POST['password'];

// To protect MySQL injection (more detail about MySQL injection)


$username = stripslashes($username);
$password = stripslashes($password);
$username = mysql_real_escape_string($username);
$password = mysql_real_escape_string($password);

$sql="SELECT * FROM user WHERE username='$username' and


password='$password'";
$result=mysql_query($sql);

// Mysql_num_row is counting table row


$count=mysql_num_rows($result);

// If result matched $username and $password, table row must be 1 row


if($count==1){

$_SESSION['login'] = true;
$_SESSION['username'] = $record['username'];

// Register $username, $password and redirect to file "welcome.php"

header("location:user-dashboard.php");
}
else {
echo "Wrong Username or Password";
header('Refresh: 3; URL = user-login.php');
}
ob_end_flush();
?>

</body>
</html>
USER Dashboard .php
<!DOCTYPE html>
<!--[if lt IE 7 ]> <html class="ie6"> <![endif]-->
<!--[if IE 7 ]> <html class="ie7"> <![endif]-->
<!--[if IE 8 ]> <html class="ie8"> <![endif]-->
<!--[if IE 9 ]> <html class="ie9"> <![endif]-->
<!--[if (gt IE 9)|!(IE)]><!-->

<html lang="en" class=""><!--<![endif]-->

<head>
<meta charset="utf-8">

<meta http-equiv="X-UA-Compatible" content="IE=edge">


<meta name="viewport" content="width=device-width, initial-
scale=1">

<title>Car Rental</title>
<!-- Standard Favicon -->
<link rel="icon" type="image/x-icon" href="images/favicon.ico" />

<link rel="stylesheet" type="text/css"


href="libraries/lightslider/lightslider.min.css" />

<link rel="stylesheet" type="text/css"


href="revolution/css/settings.css">

<!-- RS5.0 Layers and Navigation Styles -->


<link rel="stylesheet" type="text/css"
href="revolution/css/layers.css">
<link rel="stylesheet" type="text/css"
href="revolution/css/navigation.css">

<!-- Library - Bootstrap v3.3.5 -->


<link rel="stylesheet" type="text/css" href="libraries/lib.css">

<!-- Custom - Theme CSS -->


<link rel="stylesheet" type="text/css" href="style.css">
<link rel="stylesheet" type="text/css" href="css/plugins.css">
<link rel="stylesheet" type="text/css" href="css/navigation-
menu.css">
<link rel="stylesheet" type="text/css" href="css/shortcode.css">

<!--[if lt IE 9]>
<script src="js/html5/respond.min.js"></script>
<![endif]-->

</head>

<body data-offset="200" data-spy="scroll" data-target=".ow-


navigation">
<div class="main-container">

<!-- Header Section -->


<header id="header" class="header-section container-fluid
no-padding">
<!-- Container -->
<div class="container">
<!-- Top Header -->
<div class="top-header container-fluid no-
padding">
<div class="col-md-8 col-sm-12 col-xs-12
top-icons no-padding">
<br><br><br>
</div>
</div><!-- Top Header /- -->
<!-- nav -->
<nav class="navbar navbar-default ow-navigation">
<div class="navbar-header">
<button aria-controls="navbar" aria-
expanded="false" data-target="#navbar" data-toggle="collapse"
class="navbar-toggle collapsed" type="button">
<span class="sr-only">Toggle
navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a href="index.php" class="navbar-
brand"><img src="images/logo.png" alt="Logo" /></a>
</div>

<div class="navbar-collapse collapse


navbar-right" id="navbar">
<ul class="nav navbar-nav">
<li class="active"><a
href="user-dashboard.php">Home</a></li>
<li><a href="user-car-
list.php">Car Listing</a></li>
<li><a href="my-booking.php">My
Booking</a></li>
<li><a href="logout.php">Logout</a></li>
</ul>
</div><!--/.nav-collapse -->
</nav><!-- nav /- -->

</div><!-- Container /- -->


</header><!-- Header Section /- -->

<main>

<!-- Slider Section -->


<div id="home-revslider" class="slider-section
container-fluid no-padding ">
<!-- START REVOLUTION SLIDER 5.0 -->
<div class="rev_slider_wrapper">
<div id="home-slider1" class="rev_slider"
data-version="5.0">
<ul>
<li data-transition="fade" data-
slotamount="1" data-easein="default" data-easeout="default" data-
masterspeed="1500">
<!-- MAIN IMAGE -->
<img src="images/home1-
slide1.jpg" alt="home1" />
<!-- LAYER NR. 1 -->
<div class="tp-caption
NotGeneric-Title tp-resizeme rs-parallaxlevel-0 text-1" id="slide-1-
layer-1"
data-
x="['left','left','left','left']" data-hoffset="['365','-730','-
730','-730']"
data-
y="['top','top','top','top']" data-voffset="['256','0','0','0']"
data-
fontsize="['70','100','120','140']"
data-
lineheight="['100','100','100','100']"
data-width="none"
data-height="none"
data-
whitespace="nowrap"
data-
transform_idle="o:1;"
data-
transform_in="x:[105%];z:0;rX:45deg;rY:0deg;rZ:90deg;sX:1;sY:1;skX:0;s
kY:0;s:2000;e:Power4.easeInOut;"
data-
transform_out="y:[100%];s:1000;e:Power2.easeInOut;s:1000;e:Power2.ease
InOut;"
data-
mask_in="x:0px;y:0px;s:inherit;e:inherit;"
data-
mask_out="x:inherit;y:inherit;s:inherit;e:inherit;"
data-start="1000"
data-splitin="chars"
data-splitout="none"
data-
responsive_offset="on"
data-
elementdelay="0.05"
style="z-index:6;
position:relative; color:#fff; font-weight:400; letter-spacing: 7px;
font-family: 'Roboto Slab', serif; text-transform: uppercase;">
<h3>Car For
Rental</h3>
</div>

<!-- LAYER NR. 2 -->


<div class="tp-caption
NotGeneric-Title tp-resizeme rs-parallaxlevel-0 text-1" id="slide-1-
layer-2"
data-
x="['left','left','left','left']" data-
hoffset="['365','365','365','20']"
data-
y="['top','top','top','top']" data-
voffset="['356','356','356','356']"
data-
fontsize="['70','100','120','140']"
data-
lineheight="['100','100','100','100']"
data-width="none"
data-height="none"
data-
whitespace="nowrap"
data-
transform_idle="o:1;"
data-
transform_in="x:[105%];z:0;rX:45deg;rY:0deg;rZ:90deg;sX:1;sY:1;skX:0;s
kY:0;s:2000;e:Power4.easeInOut;"
data-
transform_out="y:[100%];s:1000;e:Power2.easeInOut;s:1000;e:Power2.ease
InOut;"
data-
mask_in="x:0px;y:0px;s:inherit;e:inherit;"
data-
mask_out="x:inherit;y:inherit;s:inherit;e:inherit;"
data-start="1000"
data-splitin="chars"
data-splitout="none"
data-
responsive_offset="on"
data-
elementdelay="0.05"
style="z-index:6;
position:relative; color:#fff; font-weight:400; letter-spacing: 7px;
font-family: 'Roboto Slab', serif; text-transform: uppercase;">
<h3>Best Cars</h3>
</div>

<!-- LAYER NR. 3 -->


<div class="tp-caption
NotGeneric-Title tp-resizeme rs-parallaxlevel-0" id="slide-1-layer-3"
data-
x="['left','left','left','left']" data-
hoffset="['365','365','365','20']"
data-
y="['top','top','top','top']" data-
voffset="['486','486','486','486']"
data-
fontsize="['105','105','130','160']"
data-
lineheight="['100','100','100','100']"
data-width="none"
data-height="none"
data-
whitespace="nowrap"
data-
transform_idle="o:1;"
data-
transform_in="x:[105%];z:0;rX:45deg;rY:0deg;rZ:90deg;sX:1;sY:1;skX:0;s
kY:0;s:2000;e:Power4.easeInOut;"
data-
transform_out="y:[100%];s:1000;e:Power2.easeInOut;s:1000;e:Power2.ease
InOut;"
data-
mask_in="x:0px;y:0px;s:inherit;e:inherit;"
data-
mask_out="x:inherit;y:inherit;s:inherit;e:inherit;"
data-start="1000"
data-splitin="chars"
data-splitout="none"
data-
responsive_offset="on"
data-
elementdelay="0.05"
style="z-index:6;
position:relative; color:#f85c37; font-weight:700; letter-spacing:
2.1px; font-family: 'Open Sans', sans-serif; text-transform:
uppercase;">
<h3>Book Now</h3>
</div>

</li>

</ul>
</div><!-- END REVOLUTION SLIDER -->
</div><!-- END OF SLIDER WRAPPER -->
</div><!-- Slider Section /- -->

</main>

<!-- Footer Section -->


<footer class="footer-main container-fluid no-padding">
<!-- Copyright -->
<div class="container-fluid no-padding copyright">
<p><i class="fa fa-copyright"></i> COPYRIGHTS
2019. ALL RIGHTS RESERVED</p>
</div><!-- Copyright /- -->
</footer><!-- Footer Section /- -->

</div>

<!-- JQuery v1.12.4 -->


<script src="js/jquery-1.12.4.min.js"></script>
<!-- Library - Js -->
<script src="libraries/lib.js"></script>
<script src="libraries/lightslider/lightslider.min.js"></script>

<!-- RS5.0 Core JS Files -->


<script type="text/javascript"
src="revolution/js/jquery.themepunch.tools.min838f.js?rev=5.0"></scrip
t>
<script type="text/javascript"
src="revolution/js/jquery.themepunch.revolution.min838f.js?rev=5.0"></
script>
<script type="text/javascript"
src="revolution/js/extensions/revolution.extension.video.min.js"></scr
ipt>
<script type="text/javascript"
src="revolution/js/extensions/revolution.extension.slideanims.min.js">
</script>
<script type="text/javascript"
src="revolution/js/extensions/revolution.extension.layeranimation.min.
js"></script>
<script type="text/javascript"
src="revolution/js/extensions/revolution.extension.navigation.min.js">
</script>

<!-- Library - Theme JS -->


<script src="js/functions.js"></script>
</body>
</html>
SAMPLE SCREENSHORTS

S-ar putea să vă placă și