Professional Documents
Culture Documents
Toll Gate
Toll Gate
Toll Gate
CHAPTER 1
INTRODUCTION
CHAPTER 2
SYSTEM ANALYSIS
2.1 INTRODUCTION
System analysis is the study of existing system in terms of system goals. System
analysis is the process of studying a procedure or business in order to identify its goals
and purposes and create system and procedures that will achieve them in an efficient
way. Analysis and synthesis, as scientific methods, always go hand in hand; they
complement one another. Every synthesis is built upon the results of a preceding analysis,
and every analysis requires a subsequent in order to verify and correct its results.
Economical Feasibility
The system must be justified by cost and benefit criteria to ensure that effort is
concentrated more on project which will give best return at the earliest. The factors that
mainly affect the cost Since the development tools are already in hand the cost in this
scenario is less. After the study of the application it was found that the project is
economically feasible taking into consideration the time factor and productivity of the
software.
3
Technical Feasibility
Technical Feasibility checks whether the proposed system satisfies the
requirements and technical possibilities of the system developed. It includes the study of
function, performance and constraints that may affect the ability to achieve an acceptable
system. This will leads to high demands on the available technical resources. This will
lead to high demands being placed on the client.
Operational Feasibility
Operational feasibility study is necessary as it ensures that the project developed
can be successfully implemented. Everything is provided in easy access manner so that
any novice travelers can make use of information very efficiently. The system is found to
be very beneficial to the Administrators, Hardware Managers and Team Members. Hence
the operational feasibility of the system is very high.
4
In the existing system, every vehicle may wait in the long queue for paying the
tollgate payment. The conventional or the traditional way of collecting the toll from the
vehicle owners or the drivers is to stop the car by the Toll Gate Stations and then pay the
amount to the toll collector, standing (or perhaps sitting!) by the side of the toll booth.
After pay the amount the gate is opened either mechanically or electronically by the
driver to get through the toll station. Huge amount of vehicles will be travel across the
tollgate everyday. Maintaining the huge amount of vehicles in each tollgate at everyday is
an complicated work.
2.3.1 Disadvantages
Wastage of Time
Wastage of fuel/petrol/diesel
Stress while we waiting in the queue
Sound Pollution
5
Toll gate payment system have been great assistance of the traveler who travel
across the toll gate via the vehicles like car, van, lorry, bus, container and other heavy
vehicles with four wheelers and above. Firstly traveler should login into the system for
utilize the toll gate payment system. After login into the system, traveler want to filled up
the top three field by the traveler who going to travel, traveler’s personal details,
traveler’s bank details and further details about the travel. In Personal Details, traveler
must want to filled up the personal details like id (traveler’s unique id), name, place,
phone number and all. In Bank Details, traveler must want to filled up the bank account
details for the transaction of money for toll gate along with the same id given in the
personal details. Then the mandatory field of toll gate payment system was Start
Transaction. In Start Transaction field traveler want to fill the important details like the
traveler id, vehicle number, select the place where the traveler want to travel, select the
type of the vehicle in which vehicle the traveler going to travel, select the starting time
and starting date of the travel and submit the details.
Toll gate amount will not able to given by the traveler, the amount will
automatically taken by the system for the corresponding places. After completing the
start transaction page then go into the View Transaction page and enter the id of the
particular traveler. Then the receipt will be generated for the traveler with the vehicle
number, vehicle type, starting time and starting date of the travel along with the message
like “The Receipt is valid only for next 24 hours”. Simultaneously, the timer is also get
started and reduce the timing for next 24 hours. Once the timer is started and end up with
after 24 hours the receipt is also not valid for the travel. Then the traveler again want to
sign into the system and utilize the system within 24hours from the timer is started.
2.4.1 Advantages
Great assistance of time consuming
Reduce the manual work
Consuming the Petrol/Diesel
No need to taking the cash in hand
6
CHAPTER 3
SYSTEM SPECIFICATION
Processor : Pentium IV
RAM : 256 MB or more
Hard Disk : 40 GB hard disk drive
Floppy Disk : 1.44 Floppy Disk Drive.
With PHP you are not limited to output HTML. You can output images, PDF files,
and even Flash movies. User can also output any text, such as XHTML and XML.
Need of PHP
To start using PHP:
Find a web host with PHP and MySQL support
Install a web server on your own PC, and then install PHP and MySQL
Use a Web Host With PHP Support
If your server has activated support for PHP you do not need to do anything.
Just create some .php files, place them in your web directory, and the server will
automatically parse them for you.
Php do not need to compile anything or install any extra tools.
Because PHP is free, most web hosts offer PHP support.
Set Up PHP on Your Own PC
However, if your server does not support PHP, you must:
1. Install a web server
2. Install PHP
3. Install a database, such as MySQL
4. The official PHP website (PHP.net) has installation instructions for PHP:
http://php.net/manual/en/install.php
8
During the installation process, you may come across warning pop-ups. But you
would probably click ‘Yes’ to start the installation process. Soon after you click on the
downloaded file, the XAMPP setup wizard will open.
9
Select Components
Next, you need to check the components which you want to install and can
uncheck or leave as it is which you don’t want to install. You can see there
are a few options which are light grey in color. These are the options
which are necessary to run the software and will automatically be
installed. Now click on the ‘Next’ button to continue.
Now click on the ‘Next’ Button to proceed.
Select Installation Folder
Now you need to choose the folder where you want to install the XAMPP.
You can choose the default location or you can choose any location of
your choice and choose the ‘Next’ button to move ahead.
Ready to Install
Now you’ll see another window with a message “Setup is now ready to
begin installing XAMPP on your computer” like shown below.
You just have to hit the ‘Next’ button to proceed.
If the entire process of XAMPP installation went correctly, then the
control panel would open smoothly.
Then click on the ‘Start’ button corresponding to Apache and MySQL.
CHAPTER 4
SYSTEM DESIGN
4.1 INTRODUCTION
Login
Login page is the essential process for every system, applications and projects.
Login page is normally having the username and password. In toll gate payment system,
traveler who wanted to enter into the system then the traveler must have to enter the
username and password. After enter the username and password in the login page then
the traveler will be allowed to enter into a system.
Personal Details
Personal details of the traveler whoever login to the system and wanted to utilize
the Toll Gate Payment System will definitely filled out the personal information of the
traveler. In personal details, traveler must want to fill the details of traveler id, name,
place, phone no and address. The details can be filled out for the purpose of admin
wanted to know about the traveler personal details. The traveler id (while entering the
personal details) is the unique id for the traveler’s who utilize the toll gate payment
system.
12
Bank Details
Bank details can be asked for the traveler to pay the toll gate amount via the bank
account of the traveler and the initial details of the bank account asked for the transaction
of the amount for toll gate payment system.
View Transaction
View transaction is the most important part in the toll gate payment system. In
View Transaction, traveler got the receipt for the transaction with details of vehicle
number, place and starting time and date of the travel along with the message “This
receipt is valid only for next 24 hours”. After completing the Start Transaction page the
receipt is generated in View Transaction page along with the timer for next 24 hours.
After the timer is completed for 24 hours the receipt is also not valid for the travel.
13
Receipt generated
+Alert Message
+Timer
+Receipt
Login
Registration
Payment
User Admin
Receipt generated
Logout
User
Try again
Login
Invalid valid
Registration
Registration
Payment
Receipt generated
Logout
CHAPTER 5
SYSTEM TESTING
5.1 INTRODUCTION
System Testing is the testing of a complete and fully integrated software product.
Usually, software is only one element of a larger computer-based system. Ultimately,
software is interfaced with other software/hardware systems. System Testing is actually a
series of different tests whose sole purpose is to exercise the full computer-based system.
System testing is testing conducted on a complete integrated system to evaluate the
system's compliance with its specified requirements. System testing takes, as its input, all
of the integrated components that have passed integration testing.
Combining all programs into a single application and testing its correct is called as
Integration testing. Even all programs work correctly they may give a false result when
they work together. Integration is very important to get the completed result.
17
System testing is the testing to ensure that by putting the software in different
environments (e.g., Operating System) it still works. System Testing is done with full
system implementation and environment.
5.2.4 Regression Testing
Acceptance testing is often done by the customer to ensure that the delivered
product meets the requirements and works as the customer expected.
18
CHAPTER 6
CONCLUSION
Tollgate Payment system will make the human work more easily and quickly to
pay the tollgate payment at the earliest of the travel time. Firstly traveler must utilize the
service by login into the service and enter into the home page of the tollgate payment
service. In home page traveler can filled out all the information about the traveler like
personal details, bank details then start transaction. After the transaction can made
successful a receipt may generated for the tollgate payment along the message (This
receipt is valid for only next 24hours) and correspondingly a timer will reduced till the 24
hours is completed from the transaction is started. Likewise the traveler can utilize the
service and make use of it.
19
CHAPTER 7
FUTURE ENHANCEMENT
Tollgate Payment System is used for the traveler as a service. Traveler can login
then starting the tollgate payment service and got a receipt for that service. But in future
the mobile app is build for the Toll Gate Payment and traveler can use the mobile app
whenever a person want to go anywhere while crossing across the tollgate by doing very
few steps in easy way. Also, RFID reader made the great evolution for the tollgate
payment in the future. RFID and reader along with the respective system will used by the
tollgate and tag or component stick into the outside of the vehicle will read by the reader
in the tollgate by using RFID. The automatic tollgate can open only for the traveler who
paid the tollgate payment otherwise the tollgate will not be opened. The automatic
tollgate will accessed by the reader along with the system and RFID.
20
Login Page
Home Page
This page is used as the entry point of the toll gate payment system.
22
Personal Details
Bank Details
View Transaction
It will display the receipt for the Toll gate payment system.
26
Table Design
Login
<?php
if(isset($_POST["submit"
]))
{
$name=$_POST["uname"];
$password=$_POST["pws"];
Home Page
<html>
<body>
<CENTER
<a href="wallet" data-scroll-nav="1">Personal Details</a><BR><BR>
<a href="profile" data-scroll-nav="1">Bank Details</a><BR><BR>
<a href="payment" data-scroll-nav="1">Start TollPay service</a><BR><BR>
<a href=view butt" data-scroll-nav="1">view transaction</a><BR><BR>
</CENTER
</body>
</html>
<form action="#" method="post" class="banner_form">
<h6>register personal Details</h6>
<div class="sec-right">
<label class="contact-form-text">id</label>
<input placeholder="travelername" name="name" type="text" pattern="[0-9]"
required="" >
</div>
<div class="sec-left">
<label class="contact-form-text">name</label>
<input placeholder="..." name="T1" type="text" required="">
</div>
<div class="sec-left">
<label class="contact-form-text">place</label>
<input placeholder="digits" name="T2" type="text" required="">
33
</div>
<div class="sec-left">
<label class="contact-form-text">phone no</label>
<input placeholder="***" name="T3" type="text" maxlength="10" required="">
</div>
<div class="sec-left">
<label class="contact-form-text">address</label>
<input placeholder="***" name="T4" type="text" required="">
</div>
<input type="submit" value="Submit" name="submit">
<input type="submit" onclick="goBack()" value="back" name="BACK">
<script>
<html>
34
Bank Details
<form action="#" method="post" class="banner_form">
<h6>Bank Details</h6>
<div class="sec-right">
<label class="contact-form-text">id</label>
<input placeholder="." name="name" type="text" required="">
</div>
<div class="sec-left">
<label class="contact-form-text">accno</label>
<input placeholder="..." name="T1" type="text" required="">
</div>
<div class="sec-left">
<label class="contact-form-text">bankname</label>
<input placeholder="" name="T2" type="text" required="">
</div>
<div class="sec-left">
<label class="contact-form-text">branch</label>
<input placeholder="***" name="T3" type="text" required="">
</div>
<div class="sec-left">
<label class="contact-form-text">city</label>
<input placeholder="***" name="T4" type="text" required="">
</div>
<div class="sec-left">
<label class="contact-form-text">pincode</label>
<input placeholder="***" name="T5" type="text" required="">
35
</div>
<input type="submit" value="Submit" name="submit">
<input type="submit" onclick="goBack()" value="back" name="BACK">
<script>
Payment
<form action="#" method="post" class="banner_form">
<h6>PAYMENT:</h6>
<div class="sec-right">
<div class="sec-left">
<label class="contact-form-text"><h2>Id</h2></label>
<input placeholder="" name="T1" type="text" required="">
</div>
<div class="sec-left">
<label class="contact-form-text"><h2>vechile no</h2></label>
<input placeholder="" name="T0" type="text" required="">
</div>
</div>
<div class="sec-left">
<h3> <label class="contact-form-text">Toll Amount :</label>
36
<select name="start">
<option value="Chennai-To-Madurai $\350">Chennai-To-Madurai </option>
<option value="Madurai-To-Trichy $\200">Madurai-To-Trichy</option>
<option value="Trichy-To-Chennai $\280">Trichy-To-Chennai</option>
<option value="Pondy-To-chennai $\150">Pondy-To-chennai</option>
<option value="Cuddalore-To-Salem $\250">Cuddalore-To-Salem </option>
<option value="Vellore-To-Chennai $\270">Vellore-To-Chennai</option>
<option value="hennai-To-Salem $\230">Chennai-To-Salem </option>
<option value="Trichy-To-Cuddalore $\120">Trichy-To-Cuddalore</option>
</select></h3>
</div>
<h3><div class="sec-left">
<label class="contact-form-text">Time :</label>
<input placeholder="***" name="T3" type="time" required="">
</div>
<input type="submit" value="Submit" name="submit">
<input type="submit" onclick="goBack()" value="back" name="BACK">
<script>
37
Bill Receipt
<html>
<body>
<form action="" method="post">
<label class="contact-form-text"><h1>ID:</h1></label>
<input type="text" name="id"/>
</form>
<?php
if(isset($_POST["sele"]))
{
$con=mysqli_connect("localhost","root","","project");
$ID=$_POST['id'];
$qu=mysqli_query($con,"select * from result where id='$ID'");
while($rs=mysqli_fetch_array($qu))
{
echo " <br><br><center><font color=ASH><H1> BILL DETAILS</H2></font><table
border=2 CELLPADDING=10><tr>";
echo"<trbgcolor= cyan>
<th><h2>Id</th>
<th><h2>vechile No</th>
<th><h2>vechile type</th>
38
<th><h2>Toll Amount</th>
<th><h2>Date</th>
<th><h2> Time</th>
</tr>";
echo"<trbgcolor=yellow><td><h2>".$rs["0"]."</h2></td><td><h2>".
$rs["1"]."</td><td><h2>".$rs["2"]."</td>
<td><h2>".$rs["3"]."</td><td><h2>".$rs["4"]."</td><td><h2>".
$rs["5"]."</td></tr></table></center></h1> ";
}
mysqli_close($con);
}
?>
39
REFERENCES
BOOKS
1. Programming Php2nd Edition, Author: Rasmus Lerdorf, Publisher: O’Relly
publications.
2. Murach’s Php and MYSQL: Training and Reference, Author: Joel Murach, Ray
Harris, Publisher: Murach Books.
3. Head First Php and MYSQL, Author: Micheal Morrison, Lyon Beighely,
Publisher: O’Relly Publications.
4. Expert PHP and MYSQL: Application Design and Development, Author: Marc
Rochkind, Publication: Apress
5. PHP and MYSQL: The Missing Manual, Author: Brett McLaughlin, Publication
O’Relly Publications.
WEBSITES
1. http://www.freewemasterhelp.com/tutorials/php/
2. http://www.davesite.com/webstation/html/
3. http://www.dev..mysql.com/doc/refman/5.0/en/index.html/
4. http://www.haitutorial.com/mysql/