Chanchal Final Report
Chanchal Final Report
Chanchal Final Report
PROJECT REPORT
ON
Submitted By
Guided By
Certificate
This is to certify that the project report entitled
Date: - / /2020
Place: - Yavatmal
Acknowledgement
On the completion of this project, I wish to gratefully acknowledge, by
taking this opportunity to express my sincere gratitude to Prof. Atul K. Shingarwade,
Head of Department of Master of Computer Science, for giving me kind support and
incomparable guidance. Also, thanks to our Principal Mr. Ritesh D. Chandak for
providing their computer resources and their cooperation.
I also wish to thank Prof. Atul K. Shingarwade (Project Guide), for his
guidance and useful suggestions that proved very useful in this project. Once again
thanks to all the people who have directly or indirectly helped me in this project.
Lastly, I am sincerely thankful to all my friends who have always given their
encouraging support and been a great help all the time at various stages of
development of this project.
The Principal,
Respected Sir,
I hereby declare that the project “Electricity Bill Payment System” has been
submitted by “Ku. Chanchal D. Rangari” in partial fulfillment for the requirement of
degree of Master of Science in Computer Science for the academic session 2019-
2020 is accomplished by me and submitted in original to Sant Gadge Baba Amravati
University, Amravati.
Sign : - ________________
Date :- / /2020
Place : - Yavatmal
INDEX
IV Synopsis II
1 Introduction 2
1.1 System Study 2
1.1.1 Purpose of the system 2
1.1.2 Scope of Project 3
1.2 System Analysis 4
1.2.1 Existing System 4
1.2.2 Purposed system 4
1.2.3 Project Definition 4
1.2.4 Requirement Specification 5
1.2.5 Front End, Back End and Server 6
2 System Design 9
2.1 Use Case Diagram 11
2.2 DFD 12
2.3 ER Diagram 16
2.4 Database Design 19
2.5 Module Description 20
2.6 Output Forms 21
3 Implementation 26
5 Conclusion 67
5.1 Limitation 67
5.2 Future Scope 68
6 Bibliography& References 70
7.1 References 70
7.2 Bibliography 70
LIST OF FIGURES
Sr. No. Name Of Figure Page No.
2.3.1 ER diagram 18
LIST OF TABLES
Sr. No. Name Of Table Page No.
We used PHP as front end and MySQL as back end for developing our
project. PHP is primarily a visual design environment. We can create a PHP
application by designing the form and that make up the user interface. Adding PHP
application code to the form and the objects such as buttons and text boxes on them
and adding any required support code in additional modular.
PROJECT TITLE
COLLEGE OF MANAGEMENT
AND COMPUTER SICNECE, YAVATMAL
SUBMITTED BY:
Ku. Chanchal Diliprao Rangari
MSC II
2019-2020
SYNOPSIS
PROJECT TITLE
ELECTRICITY BILL PAYMENT
SYSTEM
PROJECT MEMBER: KU. CHANCHAL D. RANGARI
PROJECT GUIDE: PROF. ATUL K. SHINGARWADE
INTRODUCTION:
The project is a web-based application where users can get instant electricity
bill and pay them online via credit card. The system automates the conventional
process of paying electricity bill by visiting the place.
The system would be having two logins admin and user login. Admin can
view user account details and can even add or updates things in their account. Admin
has to feed the system with electricity usage data into respective users account. The
system then calculates the electricity bill for every user and updates the information
into their account every month. User can then view their electricity bill and pay on the
spot before month end. If user is incapable of paying the bill before month end, it then
calculates fine for each subsequent day.
PROJECT OBJECTIVES:
Our project aims at Business process automation, i.e. we have tried computerize
various processes of Electricity Billing System. In sector of electricity board, we have
computerized their department a stock maintenance.
3. Be easy to operate
5. Be expandable
LIMITATIONS:
The system excludes the need of maintaining paper electricity bill as all the
electricity bill records are managed electronically.
Administrator doesn’t have to keep a manual track of the users. The system
automatically calculates fine
The system excludes manual bill calculation.
Users don’t have visit the office for bill payment.
There is no need of delivery boy for delivering bills to user’s place.
Thus, it saves human efforts and resources.
EXISTING SYSTEM:
Science and technology with all its fascinating advancements has been taking
human life standards to the next level. The whole world will be literally jammed
without these innovations. This project is an innovation, which makes the way of
paying electricity bill simple compared to other existing projects.
PROPOSED SYSTEM:
Front End: PHP: Hypertext Pre-processor (PHP) is a technology that allows software
developers to create dynamically generated web pages, in HTML, XML, or other
document types, as per client request. PHP is open source software.
Back End: MySQL: MySQL is a database, widely used for accessing querying,
updating, and managing data in databases.
Software Configuration:
DATABASE : MY SQL
SERVER : WAMP SERVER
FRONT END TOOL : PHP
Hardware Configuration:
RAM : 128MB
HARD DISK : MINIMUM 20 GB
PROJECT MODULES:
Our system has only two main interfaces. One is for the admin and the other
one is for the user, the here user can be a customer or an employee.
CHANCHAL D. RANGARI ELECTRICITY BILL PAYMENT SYSTEM
CHAPTER 1
INTRODUCTION
CHAPTER 1
INTRODUCTION
The project is a web-based application where users can get instant electricity
bill and pay them online via credit card. The system automates the conventional
process of paying electricity bill by visiting the place.
The system would be having two logins admin and user login. Admin can
view user account details and can even add or updates things in their account. Admin
has to feed the system with electricity usage data into respective user’s account. The
system then calculates the electricity bill for every user and updates the information
into their account every month. User can then view their electricity bill and pay on the
spot before month end. If user is incapable of paying the bill before month end, it then
calculates fine for each subsequent day.
The main objective of the Electricity Billing System is to manage the details of
Electricity, Bill, Connections, Store Record, Customer. It manages all the information
about Electricity, Electricity Board, Customer, Electricity. The project is totally built
at administrative end and thus only the administrator is guaranteed the access. The
purpose of the project is to build an application program to reduce the manual work
for managing the Electricity, Bill, Electricity Board, Connections. It tracks all the
details about the Connections, Store Record, Customer
1. 1. 2 Project Scope
Our project aims at Business process automation, i.e. we have tried computerize
various processes of Electricity Billing System. In sector of electricity board, we have
computerized their department a stock maintenance.
3. Be easy to operate
5. Be expandable
1. 2 SYSTEM ANALYSIS
1. 2. 1 Existing System
Science and technology with all its fascinating advancements has been taking
human life standards to the next level. The whole world will be literally jammed
without these innovations. This project is an innovation, which makes the way of
paying electricity bill simple compared to other existing projects.
1. 2. 2 Proposed System
to the serious problem when the workers have to go to the house again and re-enter
the meter value in order to correct it. Furthermore, it is difficult to keep track the
customer’s value of meter and calculates the usage of power for large resident area.
Besides, the customer cannot keep track of the usage of the power consumption
hourly and cannot plan on the power consumption. It is also difficult to manage the
price of customer’s power used in meter without centralized server.
The successful running of any project primarily depends upon hardware and
software used in its compilation. The hardware used in the machines should be such
that it supports the software that is to be mounted for assembling the project. This
project deals with hardware and software, which is available readily and easy on each
and every machine given to the user.
Hardware Requirements
Hard Disk : 50 GB
Software Requirements
Front-End : PHP
Frontend- PHP
What is PHP?
PHP is an acronym for "PHP: Hypertext Preprocessor"
PHP is a widely-used, open source scripting language
PHP scripts are executed on the server
PHP is free to download and use
PHP is an amazing and popular language!
It is powerful enough to be at the core of the biggest blogging system on the
web (WordPress)!
It is deep enough to run the largest social network (Facebook)!
It is also easy enough to be a beginner's first server side language!
Why PHP?
PHP runs on various platforms (Windows, Linux, Unix, Mac OS X, etc.)
PHP is compatible with almost all servers used today (Apache, IIS, etc.)
PHP supports a wide range of databases
PHP is free. Download it from the official PHP resource: www.php.net
PHP is easy to learn and runs efficiently on the server side
Backend-MySql
MySQL is a fast, easy-to-use RDBMS being used for many small and big
businesses. MySQL is developed, marketed and supported by MySQL AB, which is a
Swedish company. MySQL is becoming so popular because of many good reasons −
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 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.
CHAPTER 2
DESIGN
CHAPTER 2
DESIGN
There are five phases in this model and the first phase is the planning stage.
The planning stage determines the objectives of the project and whether the project
should be given the green light to proceed. This is where the proposal submission
comes into picture. After obtaining the approval, the next phase is analysis.
Gathering and analysing the system and user requirements is essential for entry to the
design step.
With the user requirements gathering completed, there is a need to prepare the
resources for the project. Be it software or hardware components, careful
consideration and selection is to be taken care at this stage. The decision on the
appropriate resources to be used is further elaborated under the subsections below.
The next step is to design the system and database structure.
Results from the analysis and preparation that were concluded from the
previous stage are put into action. With the user requirements in mind, the flow of the
system is planned and the user interface is designed to suit their easy navigation
needs. In addition, the number of tables, attributes, primary and unique keys of the
database is listed.
After completing the design, actual coding begins. Database is created and
codes are written. Some of the codes required amendments and improvement to it so
these are being developed at this fourth stage of the waterfall model. With the
development completed, testing will begin. The codes and database are tested to
ensure the results obtained are as intended. More time is spent on both development
and testing stages because it is inevitable to have errors and issues and buffer time is
allocated for troubleshooting.
2.1.1 Login:
LOGIN
REGISTRATION
NEW USER
SIGN UP LOGIN
2. 2 DFD
The DFD enables the software developer to develop models of the information
domain & functional domain at the same time. As the DFD is refined into greater
levels of details, the analyst performs an implicit functional decomposition of the
system. At the same time, the DFD refinement results in a corresponding refinement
of the data as it moves through the processes that embody the applications.
A context-level DFD for the system the primary external entities produce
information for use by the system and consume information generated by the system.
The labeled arrow represents data objects or object hierarchy.
Identify all data flows for each process step, except simple
Record retrievals.
START
LOGIN
LOGOUT
STOP
2. 2. 2 1 level DFD:
2. 3 ER-Diagram:
It maps well to the relational model. The constructs used in the ER model can
easily be transformed into relational tables.
In addition, the model can be used as a design plan by the database developer
to implement a data model in specific database management software.
E-R Notation:
The notation used in this document is from Martin. The symbols used for the
basic ER constructs are:
Entities are represented by labeled rectangles. The label is the name of the
entity. Entity names should be singular nouns.
Relationships are represented by a solid line connecting two entities. The name
of the relationship is written above the line. Relationship names should be verbs
Attributes, when included, are listed inside the entity rectangle. Attributes
which are identifiers are underlined. Attribute names should be singular nouns.
2.3.1 E-R-Diagram
2. 4 DATABASE DESIGN
2. 4. 1 Admin Table
2. 4. 2 Bank Table
2. 4. 2 Bank Table
2. 4. 3 Bill Table
2. 4. 3 Bill Table
2. 4. 4 Card Table
2. 4. 4 Card Table
2. 4. 5 Customer Table
2. 4. 2 Customer Table
Our system has only two main interfaces. One is for the admin and the other
one is for the user, the here user can be a customer or an employee.
Login Page
Details Page
Pay Page
Card Details
Payment Successful
Logout
CHAPTER 3
IMPLEMENTATION
CHAPTER 3
IMPLEMENTATION
Index page
<?php
include("includes/connect.php");
?>
<html>
<head>
<title>
</title>
</head>
<body>
<?php
include("includes/header.php");
?>
<div class="contain">
<div class="section">
<div class="loginpad">
<br>
<br>
<br>
</form>
<br>
<br>
<br>
</div>
</div>
</div>
<center>
<?php
include("includes/footer.php");
?>
</center>
<?php
if(isset($_POST["btnlogin"]))
function validate_input($data)
$data = trim($data);
$data = stripslashes($data);
$data = htmlspecialchars($data);
return $data;
$c_id = validate_input($_POST["c_id"]);
if($c_id =="")
return;
else
if (mysqli_num_rows($result) > 0)
session_start();
$_SESSION['log_user']=$c_id;
setcookie('user_n',$c_id,time() +
86400*30,'/');
header("location:home.php");
else
echo mysqli_error($con);
return;
?>
</body>
</html>
Home Page
<?php
session_start();
include("includes/connect.php");
if(!(isset($_SESSION['log_user'])))
header("location:check.php");
else
$user_name=$_SESSION['log_user'];
?>
<html>
<head>
<title>
</title>
</head>
<body>
<?php
include("includes/header.php");
?>
<div class="container">
<?php
include("includes/menu.php");
?>
<div class="bd">
<br>
<tr>
<th>Name</th>
<th>Address</th>
<th>House Number</th>
<th>Phone</th>
<th>Bill No</th>
<th>Amount</th>
<th>Date</th>
<th>Pending Payment</th>
</tr>
<?php
$result1=mysqli_query($con,$query1);
?>
<?php
while($rows=mysqli_fetch_array($result1))
?>
<tr>
</tr>
<?php
?>
</table>
</div>
</div>
<center>
<?php
include("includes/footer.php");
?>
</center>
</body>
</html>
<?php
?>
Cancel Page
<?php
session_start();
include("connect.php");
if(!(isset($_SESSION['log_user'])))
header("location:check.php");
else
$user_name=$_SESSION['log_user'];
?>
<html>
<head>
<title>
</title>
</head>
<body>
<center>
<hr>
<p>
</p>
Loading...
</center>
</body>
</html>
<?php
?>
Check Page
<center>
<hr>
<p>
</p>
</center>
Complete Page
<?php
session_start();
include("connect.php");
if(!(isset($_SESSION['log_user'])))
header("location:check.php");
else
$user_name=$_SESSION['log_user'];
?>
<html>
<head>
<title>
</title>
</head>
<body>
<center>
<hr>
<p>
</p>
</center>
</body>
</html>
<?php
?>
Connect Page
<?php
$con = mysqli_connect("localhost","root","","electribill");
if (!$con) {
?>
Logout Page
<center>
<hr>
<?php
session_start();
session_destroy();
echo "Your Have Been Logout <br><a href='index.php'> Click Here</a> To Exit";
?>
</center>
Pay Page
<?php
session_start();
include("connect.php");
if(!(isset($_SESSION['log_user'])))
header("location:check.php");
else
$user_name=$_SESSION['log_user'];
?>
<html>
<head>
<title>
</title>
</head>
<body>
<?php
include("includes/header.php");
?>
<div class="container">
<?php
include("includes/menu.php");
?>
<div class="bd">
<center>
</form>
</div></div>
<center>
<?php
include("includes/footer.php");
?>
</center>
</body>
</html>
<?php
if(isset($_POST['btn_update']))
header("location:process.php");
}}?>
Payment Page
<?php
session_start();
include("connect.php");
if(!(isset($_SESSION['log_user'])))
header("location:check.php");
else
$user_name=$_SESSION['log_user'];
?>
<html>
<head>
<title>
</title>
<style>
body
background-color:#ccc;
#txt
width:250px;
border-style:groove;
height:30px;
border-radius:4px;
#sl
width:125px;
border-style:groove;
height:30px;
border-radius:4px;
#btn
background-color:#1e5799;
border-style:none;
width:100px;
height:30px;
border-radius:4px;
color:white;
#btn:hover{
background-color:#1e5700;
color:#000;
.header
position:fixed;
top:0px;
background-color:#000;
width:100%;
left:0px;
color:#fff;
opacity:.8;
text-align:center;
.footer
position:fixed;
bottom:0px;
background-color:#000;
width:100%;
left:0px;
color:#fff;
.footer a
color:#fff;
.container
padding-top:120px;
table
text-align:center;
.section
background-color:#fff;
width:700px;
height:490px;
border-radius:10px;
</style>
</head>
<body>
<?php
include("includes/header.php");
?>
<center>
<div class="container">
<div class="section">
<?php
$bank=$_POST["bank"];
$dt=date("m/d/Y");
$result1=mysqli_query($con,$query1);
$rows=mysqli_fetch_array($result1);
$amount=$rows['amount'];
?>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<?php
while($rows=mysqli_fetch_array($result))
?>
<?php
?>
</select>
<br>
<?php
for($i=1;$i<=12;$i++)
?>
<?php
?>
</select>
<?php
$dy=date("Y");
for($j=$dy;$j<=2050;$j++)
?>
<?php
?>
</select>
<br>
<br>
</form>
<?php
?>
</center>
</div>
</div>
<?php
if(isset($_POST["btnpro"]))
function validate_input($data)
$data = trim($data);
$data = stripslashes($data);
$data = htmlspecialchars($data);
return $data;
$ch = validate_input($_POST["ch"]);
$cn = validate_input($_POST["cn"]);
$cvs = validate_input($_POST["cvs"]);
$mm = validate_input($_POST["mm"]);
$yy = validate_input($_POST["yy"]);
$month=$mm."/".$yy;
return;
else
if(mysqli_query($con,$query))
header("location:complete.php");
else
?>
<center>
<?php
include("includes/footer.php");
?>
</center>
</body>
</html>
<?php
?>
Process Page
<?php
session_start();
include("connect.php");
if(!(isset($_SESSION['log_user'])))
header("location:check.php");
else
$user_name=$_SESSION['log_user'];
?>
<html>
<head>
<title>
</title>
</head>
<body>
<center>
<hr>
<p>
</p>
Please wait...
</center>
</body>
</html>
<?php
?>
SchPayment
<?php
session_start();
include("connect.php");
if(!(isset($_SESSION['log_user'])))
header("location:check.php");
else
$user_name=$_SESSION['log_user'];
?>
<html>
<head>
<title>
</title>
<style>
#txt
width:250px;
border-style:groove;
height:30px;
border-radius:4px;
#btn
background-color:#1e5799;
border-style:none;
width:100px;
height:30px;
border-radius:4px;
color:white;
#btn:hover{
background-color:#1e5700;
color:#000;
.header
position:fixed;
top:0px;
background-color:#000;
width:100%;
left:0px;
color:#fff;
opacity:.8;
text-align:center;
.footer
position:fixed;
bottom:0px;
background-color:#000;
width:100%;
left:0px;
color:#fff;
.footer a
color:#fff;
.container
padding-top:140px;
</style>
</head>
<body>
<center>
<?php
include("includes/header.php");
?>
<div class="container">
<hr>
<br>
<hr>
<?php
while($rows=mysqli_fetch_array($result))
?>
<?php
?>
</select>
</form>
</div>
<center>
<?php
include("includes/footer.php");
?>
</center>
</body>
</html>
<?php
?>
UserUpdate Page
<?php
session_start();
include("connect.php");
if(!(isset($_SESSION['log_user'])))
header("location:check.php");
else
$user_name=$_SESSION['log_user'];
$slno=$_GET["Serial_no"];
$result=mysqli_query($con,$query);
$rows=mysqli_fetch_array($result);
$serial=$rows['cus_id'];
$name=$rows['name'];
$address=$rows['address'];
$house=$rows['houseno'];
$phone=$rows['phone'];
$email=$rows['email'];
?>
<html>
<head>
<title>
</title>
</head>
<body>
<?php
include("includes/header.php");
?>
<div class="container">
<?php
include("includes/menu.php");
?>
<div class="bd">
<br>
<center>
<?php
echo $name;
?>
" required/>
<br><label>Address:</label><br>
<?php
echo $address;
?>
" required/>
<br>
<label>House No:</label><br>
<?php
echo $house;
?>
" required/>
<br>
<label>Mobile Number:</label><br>
<?php
echo $phone;
?>
" required/>
<br>
<label>Email:</label><br>
<?php
echo $phone;
?>
" required/>
<br> <br>
</form>
</div></div>
</body>
</html>
<?php
if(isset($_POST['btn_update']))
$name=$_POST["name"];
$address=$_POST["ad"];
$house=$_POST["hn"];
$phone=$_POST["phone"];
$email=$_POST["email"];
return;
else
if(mysqli_query($con,$query))
else
?>
Header Page
<div class="header">
<hr>
</div>
Footer Page
<div class="footer">
</div>
Connect Page
<?php
$con = mysqli_connect("localhost","root","","electribill");
if (!$con) {
?>
CHAPTER 4
CHAPTER 4
Starting the project, we should fully know about the meaning of project. There are
seven letters in the word “PROJECT”. Each character has its own technical
meaning.
P – Planning: this deals with the idea at thinking and which are required for project.
R – Resource: the money problem will be solved and resources from which collected.
O – Operating: the procedure from which getting job is prepared in a systematic way
is known as operation.
E – Engineering: A well educated engineer can do this work in a better way to find
out better result. Hence the project is as engineer function.
C – Cooperation: To make the project successfully, it is necessary for its success and
completion of project.
The project is a system that gives the systematic way of planning and working.
OR
CHAPTER 5
CONCLUSION
CHAPTER 5
CONCLUSION
We have left all the options open so that if there is any other future
requirement in the system by the user for the enhancement of the system then it is to
implement them.
In the last we would like to thanks all the persons involved in the development
of the system directly or indirectly. We hope that the project will serve its purpose for
which it is develop there by underlining success of process.
5. 1 LIMITATIONS
Here in the existing system the customers need to visit the organization.
The complete current system is manual system and it will not provide any kind of
security to the data.
Due to the scope of this project work as mention above, this project work is
limited to Complaint management System. This application cannot process the
penalties for anybody found being grieved or the punishment for any staff or
student found being at fault of any complaints. Other limitations are following:
The application was developed to send notification to only the recipient email
address and not mobile phone
It does not provide the means of live communication between the complaint and
the responder
The system cannot work with other web application. This means it is not a web
service-oriented system
5. 2 FUTURE SCOPE
This system is found tested and examined for its successful processing.
Future change in the environment or processing can be easily adopted by having
simple change in coding. It is very user friendly, cost effective, feature rich and it
provides very high level of security. It protects the unauthorized users. Moreover, the
system coding is so well designed that new operations can be easily incorporated
without much modification. A facility to inform through SMS or Email on landing of
the consignment can be added in future.
CHAPTER 6
BIBLIOGRAPHY AND
REFERENCES
CHAPTER 6
BIBLIOGRAPHY
October, 2006.
REFERENCES
www.W3School.com
www.waytotutorial.com
www.phprefernesbook.com
www.it-ebooks.info