Chaitra Final
Chaitra Final
On
Submitted in partial fulfillment of the requirements for the award of the degree of
BY
P CHAITRA
[Link] [Link].
CERTIFICATE
This is to certify that Ms. P Chaitra, bearing UUCMS No. U16HM22S0033, has
successfully completed the project titled “Online Marriage Registration System” using
PHP&MYSQL,HTML,CSS as part of the Bachelor of Computer Applications (B.C.A.) – VI Semester
course prescribed by Vijayanagara Sri Krishnadevaraya University, Ballari. The project was carried
out in the Computer Laboratory of this college during the period Feb – June 2025 and has been
completed to the satisfaction of the department.
2)…………………………
I P Chaitra hereby declare that this project entitled “Online Marriage Registration
System” is a record of independent work carried out by me under the guidance of L N
REDDY SIR
I further declare that the findings in this project report are based on the independent study
done by me and this project has not formed the basis for the award of any degree.
Place : siruguppa
Date :
GUIDENAME: ________________
ACKNOWLEDGEMENT
[Link] Abstract 01
[Link] 04
[Link] Requirements 04
[Link] 04
[Link] Analysis 07
[Link] Coding 20
[Link] 40
[Link] Enhancement 41
[Link] 42
Online Marriage Registration System.
ABSTRACT
Online Marriage Registration System is responsible for keeping all the record of marriages. This system
registers the marriage and generate marriage certificate.
The main objective of “Online Marriage Registration System” project is to providing easier registration of
marriage and gets marriage certificate online which save lots of time.
Online Marriage Registration System is a web-based technology that will manage the records of the
marriage and generate marriage certificate. It’s an easy for Admin to retrieve the data of marriage couple.
Online Marriage Registration System is an automatic system which delivers data processing in very high
speed in systematic manner.
In Online Marriage Registration System we use PHP and MySQL Database. This project has two modules
i.e. admin and user.
Admin Module
1. Dashboard: In this section, admin can briefly view the total number of the new applications, total
verified application and total rejected the application.
2. Application: In this section, admin views the application details and they have also the right to change
application status according to current status.
3. Reports: In this section admin can view the application details in a particular period.
4. Search: In this section, admin can search application with the help of user registration number
Admin can also update his profile, change the password and recover the password.
User Module
1. Dashboard: In this section, user can view the welcome page of the web application.
2. Registration Form: In this section, user can fill the form of marriage registration.
3. View Marriage Application: In this section, user can take print of verified certificates of marriage.
The main purpose of developing Online Marriage Registration System is to computerized the tradition way
of registering marriage. Another purpose for developing this application is to generate the report
automatically. This software design specification is made with the purpose of outlining the software
architecture and design of the Marriagr Registration System in detail.
Scope:
The Software design document would demonstrate how the design will accomplish the functional and non-
functional requirements captured in the Software Requirement specification (SRS). The document will
provide a framework to the programmers through describing the high level components and architecture,
sub systems, interfaces, database design and algorithm design. This is achieved through the use of
architectural patterns, design patterns, sequence diagrams, class diagrams, relational models and user
interfaces.
Requirement Specification
Hardware Configuration :
Client Side:
fgdfRA RAM 512 MB
Hard disk 10 GB
Server side:
RAM 1 GB
Hard disk 20 GB
Software Requirement:
Client Side:
APACHE
The Apache HTTP Server Project is an effort to develop and maintain an open-source HTTP server for
modern operating systems including UNIX and Windows. The goal of this project is to provide a secure,
efficient and extensible server that provides HTTP services in sync with the current HTTP standards.
The Apache HTTP Server ("httpd") was launched in 1995 and it has been the most popular web server on
the Internet since April 1996. It has celebrated its 20th birthday as a project in February 2015.
PHP
• PHP stands for PHP: Hypertext Preprocessor.
MYSQL
The analysis of the requirement has lead to a conclusion that the project is feasible with respect to time and
cost. The data collection from the field is assured by the client to provide. The technology used to develop
is almost Open Source, therefore less cost for implementation and maintenance will be involved. A
feasibility study is an analysis used in measuring the ability and likelihood tocomplete a project
successfully including all relevant factors. It must account for factors that affect it such as economic,
technological and time factors. It is used to assess the strengths and weaknesses of a proposed project and
present directions of activities which will improve a project and achieve desired results.
Economic feasibility
The purpose of economic feasibility assessment is to determine the positive economic benefits to the
organization that the proposed system will provide. The assessment typically involves a cost/benefits
analysis.
Technical feasibility
Technical analysis is a trading tool employed to evaluate securities and attempt to forecast the future
movement. I am using java language and other tools like net beans to develop the software.
Operational feasibility
Operational feasibility is a measure of how well proposed system solves the problems, and takes advantage
of the opportunities identified during scope definition and how it satisfies the requirements analysis phase
of the system development.
Analysis:
In present all marriage registration work done on the paper. The whole year data is stored in the registers.
We can’t generate reports as per our requirements because its take more time to calculate report of marriage.
• Not user friendly: The present system not user friendly because data is not stored in structure and
proper format.
• Manual Control: All report calculation is done manually so there is a chance of error.
• Lots of paper work: Visitors maintain in the register so lots of paper require storing details.
• Time consuming
Design is the first step in the development phase for any techniques and principles for the purpose of
defining a device, a process or system in sufficient detail to permit its physical realization.
Once the software requirements have been analyzed and specified the software design involves three
technical activities - design, coding, implementation and testing that are required to build and verify the
software.
The design activities are of main importance in this phase, because in this activity, decisions ultimately
affecting the success of the software implementation and its ease of maintenance are made. These decisions
have the final bearing upon reliability and maintainability of the system. Design is the only way to
accurately translate the customer’s requirements into finished software or a system.
Design is the place where quality is fostered in development. Software design is a process through which
requirements are translated into a representation of software. Software design is conducted in two steps.
Preliminary design is concerned with the transformation of requirements into data
Use case: A description of sequence of actions, including variants, that a system performs that yields an
observable result of value of an actor.
UML stands for Unified Modeling Language. UML is a language for specifying, visualizing and
documenting the system. This is the step while developing any product after analysis. The goal from this is
to produce a model of the entities involved in the project which later need to be built. The representation of
the entities that are to be used in the product being developed need to be designed.
Use case diagrams model behavior within a system and helps the developers understand of what the user
require. The stick man represents what’s called an actor.
Use case diagram can be useful for getting an overall view of the system and clarifying who can do and
more importantly what they can’t do.
Use case diagram consists of use cases and actors and shows the interaction between the use case and actors.
• The purpose is to show the interactions between the use case and actor.
• To represent the system requirements from user’s perspective.
• An actor could be the end-user of the system or an external system.
USECASE DIAGRAM:
A Use case is a description of set of sequence of actions. Graphically it is rendered as an ellipse with solid
line including only its name. Use case diagram is a behavioral diagram that shows a set of use cases and
actors and their relationship. It is an association between the use cases and actors. An actor represents a
real-world object. Primary Actor – Sender, Secondary Actor Receiver.
Admin
Sign In
Dashboard
Manage Application
Search Application
Generate Reports
Update Profile
Change Password
Password Recovery
Sign In
Dashboard
Fill Application
View Application
Update Profile
Change Password
Password Recovery
A description of set of objects that share the same attributes operations, relationships, and semantics
The Entity-Relationship (ER) model was originally proposed by Peter in 1976 [Chen76] as a way to unify
the network and relational database views. Simply stated the ER model is a conceptual data model that
views the real world as entities and relationships. A basic component of the model is the Entity-
Relationship diagram which is used to visually represent data objects. Since Chen wrote his paper the
model has been extended and today it is commonly used for database design for the database designer, the
utility of the ER model is:
• It maps well to the relational model. The constructs used in the ER model can easily be transformed
into relational tables.
• It is simple and easy to understand with a minimum of training. Therefore, the model can be used by
the database designer to communicate the design to the end user.
• 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.
ER Notation
There is no standard for representing data objects in ER diagrams. Each modeling methodology uses its
own notation. The original notation used by Chen is widely used in academics texts and journals but rarely
seen in either CASE tools or publications by non-academics. Today, there are a number of notations used;
among the more common are Bachman, crow's foot, and IDEFIX.
All notational styles represent entities as rectangular boxes and relationships as lines connecting boxes.
Each style uses a special set of symbols to represent the cardinality of a connection. 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
• Relationships are represented by a solid line connecting two entities. The name of the relationship
• Attributes, when included, are listed inside the entity rectangle. Attributes which are identifiers are
Existence is represented by placing a circle or a perpendicular bar on the line. Mandatory existence is
shown by the bar (looks like a 1) next to theentity for an instance is required. Optional existence is shown
by placing a circle next to the entity that is optional.
ER Diagram
After all phase have been perfectly done, the system will be implemented to the server and the system can
be used.
System Testing
The goal of the system testing process was to determine all faults in our project .The program was subjected to a set
of test inputs and many explanations were made and based on these explanations it will be decided whether the
program behaves as expected or not. Our Project went through two levels of testing
1. Unit testing
2. Integration testing
UNIT TESTING
Unit testing is commenced when a unit has been created and effectively reviewed .In order to test a single
module we need to provide a complete environment i.e. besides the section we would require
• The procedures belonging to other units that the unit under test calls
• Non local data structures that module accessesA procedure to call the functions of the unit under test
with appropriate parameters.
• Testing admin login form-This form is used for log in of administrator of the system. In this form
we enter the username and password if both are correct administration page will open otherwise if
any of data is wrong it will get redirected back to the login page and again ask the details.
• Report Generation: admin can generate report from the main database.
INTEGRATION TESTING
In the Integration testing we test various combination of the project module by providing the input.
The primary objective is to test the module interfaces in order to confirm that no errors are occurring when
one module invokes the other module.
<!DOCTYPE html>
<html>
<head>
<title>Online Marriage RegitrationSystem :: Home Page</title>
<script type="application/x-javascript">addEventListener("load", function() { setTimeout(hideURLbar, 0); }, false);
function hideURLbar(){ [Link](0,1); }</script>
<!--//Meta tag Keywords -->
<link href="css/[Link]" rel="stylesheet" type="text/css" media="all"/><!--stylesheet-->
<link rel="stylesheet" href="css/[Link]"><!--font_aswesome_icons-->
<link href="//[Link]/css?family=Basic" rel="stylesheet"><!--online-fonts-->
<link href="//[Link]/css?family=Titillium+Web" rel="stylesheet"><!--online-fonts-->
</head>
<body>
<div class="w3ls-icons">
<ul style="font-size: 30px">
<li><a href="admin/[Link]" style="color: #fff;"> Admin</a></li>
<li style="padding-left: 20px"><a href="user/[Link]" style="color: #fff;"> User</a></li>
</ul>
</div>
<div class="w3ls-head">
<h1>Online Marriage Regitration System</h1>
</div>
<div class="w3ls-content">
<div class="w3ls-headding">
<h2><imgsrc="images/[Link]"></h2>
<p>We are launching the most awesome site ever. It's gonna be legendary</p>
</div>
</div>
<footer>© 2020 Online Marriage Registration System</footer>
</body>
</html>
<?php
session_start();
error_reporting(0);
include('includes/[Link]');
if (isset ($_POST['login']))
{
$username=$_POST['username'];
$password=md5($_POST['password']);
$sql ="SELECT ID FROM tbladmin WHERE UserName=:username and Password=:password";
$query=$dbh->prepare($sql);
$query->bindParam(':username', $username, PDO::PARAM_STR);
$query->bindParam(':password', $password, PDO::PARAM_STR);
$query->execute();
$results=$query->fetchAll(PDO::FETCH_OBJ);
if($query->rowCount() > 0)
{
foreach ($results as $result) {
$_SESSION['omrsaid']=$result->ID;
}
if(!empty($_POST["remember"])) {
//COOKIES for username
Department of Computer Science. BEHMIM College, SGP Page 20
Online Marriage Registration System.
setcookie ("user_login",$_POST["username"],time()+ (10 * 365 * 24 * 60 * 60));
//COOKIES for password
setcookie ("userpassword",$_POST["password"],time()+ (10 * 365 * 24 * 60 * 60));
} else {
if(isset($_COOKIE["user_login"])) {
setcookie ("user_login","");
if(isset($_COOKIE["userpassword"])) {
setcookie ("userpassword","");
}
}
}
$_SESSION['login']=$_POST['username'];
echo "<script type='text/javascript'>[Link] ='[Link]'; </script>";
} else{
echo "<script>alert('Invalid Details');</script>";
}
}
?>
<!DOCTYPE html>
<html lang="en">
<head>
<title>Online Marriage Registration System|| Admin Sign In Page</title>
<!-- vendor css -->
<link href="lib/font-awesome/css/[Link]" rel="stylesheet">
<link href="lib/Ionicons/css/[Link]" rel="stylesheet">
<link href="lib/perfect-scrollbar/css/[Link]" rel="stylesheet">
<!-- Amanda CSS -->
<link rel="stylesheet" href="css/[Link]">
</head>
<body>
<div class="am-signin-wrapper">
<div class="am-signin-box">
<div class="row no-gutters">
<div class="col-lg-5">
<div>
<h2>OMRS</h2>
<p>Welcome to Admin Panel</p>
<p>Donec quamfelis, ultricies nec, pellentesqueeu, pretiumquis, sem. Nullaconsequatmassaquisenim. Donec
pedejusto, fringilla vel, aliquet nec, vulputate.</p>
<hr>
<p><br><a href="../[Link]">Back Home</a></p>
</div>
</div>
<div class="col-lg-7">
<h5 class="tx-gray-800 mg-b-25">Signin to Your Account</h5>
<form class="form-auth-small" action="" method="post">
<div class="form-group">
<label class="form-control-label">User Name:</label>
<input type="text" class="form-control" placeholder="User Name" required="true" name="username" value="<?php
if(isset($_COOKIE["user_login"])) { echo $_COOKIE["user_login"]; } ?>" >
</div><!-- form-group -->
<div class="form-group">
<label class="form-control-label">Password:</label>
<input type="password" class="form-control" placeholder="Password" name="password" required="true"
if(isset($_POST['login']))
{
$username=$_POST['username'];
$password=md5($_POST['password']);
$sql ="SELECT ID FROM tbladmin WHERE UserName=:username and Password=:password";
$query=$dbh->prepare($sql);
$query->bindParam(':username', $username, PDO::PARAM_STR);
$query->bindParam(':password', $password, PDO::PARAM_STR);
$query->execute();
$results=$query->fetchAll(PDO::FETCH_OBJ);
if($query->rowCount() > 0)
{
foreach ($results as $result) {
$_SESSION['omrsaid']=$result->ID;
}
if(!empty($_POST["remember"])) {
//COOKIES for username
setcookie ("user_login",$_POST["username"],time()+ (10 * 365 * 24 * 60 * 60));
//COOKIES for password
setcookie ("userpassword",$_POST["password"],time()+ (10 * 365 * 24 * 60 * 60));
} else {
if(isset($_COOKIE["user_login"])) {
setcookie ("user_login","");
if(isset($_COOKIE["userpassword"])) {
setcookie ("userpassword","");
}
}
}
$_SESSION['login']=$_POST['username'];
echo "<script type='text/javascript'>[Link] ='[Link]'; </script>";
} else{
echo "<script>alert('Invalid Details');</script>";
}
}
?>
<!DOCTYPE html>
<html lang="en">
<head>
<title>Online Marriage Registration System|| Admin Sign In Page</title>
<!-- vendor css -->
<link href="lib/font-awesome/css/[Link]" rel="stylesheet">
<link href="lib/Ionicons/css/[Link]" rel="stylesheet">
<link href="lib/perfect-scrollbar/css/[Link]" rel="stylesheet">
<!-- Amanda CSS -->
<link rel="stylesheet" href="css/[Link]">
</head>
<body>
<div class="am-signin-wrapper">
}
}
Home Page
Profile
New Application
All Application
View Reports
Reset Password
User Profile
Search Application
This Application provides a computerized version of Marriage Registration which will benefit the people
who wants to register their marriage.
It makes entire process online and can generate reports. It has a facility of admin login where admin can
fill the marriage details and generate marriage certificate.
The Application was designed in such a way that future changes can bedone easily. The following
conclusions can be deduced from the development of the project.
Future Enhancement
I have tried to design the software in such a way that the user may not have any difficulty in using this
system and further expansion is also possible. New requirements will be added and risk will be analyzed in
every phase until the requirement of user will not be fulfilled. The most priority will be given to keep
confidential data secure and easy and simple for use.
The further enhancements which can be made in the system are:
Any requirement that will make system easy to use or make a system secure, these requirement will be add
using Spiral Model. Other requirement related to government or municipality will be added when required.
For the identity of user and for their data integrity, digital signature can be added to this system.
For the identity of user and for verification, image of user can be added to this system.
There will be provision of filling form in multiple languages.
A great concern will be given on frontend design which will make user to use system easily and enjoy while
using this system.
Bibliography
For PHP
• [Link]
• [Link]
• [Link]
For MySQL
• [Link]
• [Link]
For XAMPP
[Link]