Professional Documents
Culture Documents
Final Project Matrimony Edited-Nu
Final Project Matrimony Edited-Nu
“Ethio-Matrimony”
Arbaminch, Ethiopia
31st May 2016
Ethio-Matrimony 2015/16
Approval Sheet
---------------------------------------------------------------------------------------------------
-
Mr. Sajil.Surabhi
(Advisor)
I. Acknowledgement
First of all we would like to express our internal and endless thanks to Almighty God who
helped in every aspects of our life and made us to being graduating student in this academic year.
Next we would like to express our deepest gratitude to Mr. Sajil, whose encouragement,
guidance and support from the initial to this level enabled us to develop an understanding of the
project and finishing our first phase on time. We also like to thank Sosit Gulicha match making
Agency for their helps to share some idea and existing system form. Lastly, we offer our regards
and blessings to all of those who supported us in any respect including CS & IT department
Head and staffs during this project.
II. Abstract
Many people in our country have different interest or dynamical feeling regarding their marriage.
Depending on their interest, it may not be possible to get a full satisfied life partner by using
manual activities like the agents (broker) or media. We believe our “ Ethio-Matrimony ”, a web
based application will be a solution towards this problem at least for certain people in our
country. We hope that, this will be useful for all in the near future of Ethiopia, since it is cheap
and time saving effort.
Table of Content
Contents
I. Acknowledgement..............................................................................................................................iii
II. Abstract...............................................................................................................................................iv
List of Figures.............................................................................................................................................vii
List of Tables..............................................................................................................................................ix
Chapter One: Introduction...........................................................................................................................1
1. Introduction.........................................................................................................................................1
1.1 Background of Arbaminch University (AMU)................................................................................1
1.1.1 Mission of AMIT.....................................................................................................................1
1.1.2 Vision of AMIT.......................................................................................................................1
1.2 Background of the Project (Background of Study)..........................................................................2
1.3 Team Composition..........................................................................................................................2
1.4 Statement of the Problem.................................................................................................................3
1.5 Objective of the Project...................................................................................................................3
1.5.1 General Objective....................................................................................................................3
1.5.2 Specific Objective....................................................................................................................3
1.6 Feasibility Analysis.........................................................................................................................4
1.6.1 Technical Feasibility................................................................................................................4
1.6.2 Operational Feasibility.............................................................................................................4
1.6.3 Behavioral/Social Feasibility...................................................................................................4
1.6.4 Schedule Feasibility.....................................................................................................................4
1.7 Scope and Significance of the Project..............................................................................................5
1.8 Target Beneficiaries of the System..................................................................................................8
1.9 Methodology for the Project............................................................................................................8
1.9.1 Data Sources............................................................................................................................8
1.9.2 Fact Finding.............................................................................................................................8
1.9.2.1 Interview..............................................................................................................................8
1.9.2.2 Surfing the Web....................................................................................................................8
1.9.2.3 Document analysis...............................................................................................................8
List of Figures
Figure 1 form of existing system...................................................................................................15
Figure 2 Use case Diagram............................................................................................................21
Figure 3 Description of Login Sequence Diagram.......................................................................34
Figure 4 Description of Registration Sequence Diagram.............................................................35
Figure 5 Description of See matches Sequence Diagram.............................................................36
Figure 6 Description of See contact profiles Sequence Diagram................................................37
Figure 7 Description of Edit profile Sequence Diagram.............................................................38
Figure 8 Description of Payment option Sequence Diagram......................................................39
Figure 9 Description of Generate report Sequence Diagram........................................................40
Figure 10 Description of Manage user and system Sequence Diagram.......................................41
Figure 11 Description of Searching Sequence Diagram...............................................................42
Figure 12 Description of Send/Receive message Sequence Diagram..........................................43
Figure 13 Description of Notification Sequence Diagram..........................................................44
Figure 14 Description of Login Activity Diagram.......................................................................45
Figure 15 Description of Registration Activity Diagram..............................................................47
Figure 16 Description of See matches Activity Diagram..............................................................48
Figure 17 Description of See contact profile Activity Diagram....................................................49
Figure 18 Description of Edit profile Activity Diagram...............................................................50
Figure 19 Description of Payment option Activity Diagram.........................................................51
Figure 20 Description of Generate report Activity Diagram.........................................................52
Figure 21 Description of Manage user and system Activity Diagram..........................................53
Figure 22 Description of Searching Activity Diagram..................................................................54
Figure 23 Description of Notification Activity Diagram..............................................................55
Figure 24 Description of Class Diagram.......................................................................................56
Figure 25 Description of Prototype Diagram................................................................................57
Figure 26 Class Type architecture...............................................................................................59
Figure 27 Class Modeling..............................................................................................................61
Figure 28 State chart diagram for login.........................................................................................62
Figure 29 State chart diagram for register..................................................................................62
Figure 30 State chart diagram for see matches.............................................................................63
Figure 31 State chart diagram for payment option........................................................................63
Figure 32 State chart diagram for manage user and system.........................................................64
Figure 33 State chart diagram for update profile..........................................................................64
Figure 34 Collaboration diagram for login...................................................................................65
Figure 35 collaboration diagram for registration...........................................................................65
Figure 36 Collaboration diagram for search user........................................................................66
Figure 37 Component diagram.....................................................................................................67
Figure 38 Deployment diagram....................................................................................................68
Figure 39 persistent diagram........................................................................................................69
List of Tables
1. Introduction
The Matrimonial Web Based Application is to provide Grooms and Brides with excellent
matchmaking experience by exploring the opportunity and resources to meet true potential
partner. Keeping our objective in mind, we will create a world renowned online matchmaking
services that will touch the souls of millions of people in Ethiopia. This application make
comfortable and effective search for life partners based on their interest without any agent (third
person between grooms and brides).Users can register in our site; they are able to upload their
profile with photographs onto a searchable database maintained by the website. Those users
looking to find their partner can search the database with customized searches that typically
include nationality, age, gender, religion, caste, geographic location, height, weight, color of
skin, color of eyes etc.. Once they become a paid member of our site, users will get the
permission to chat with their interested match so that they can communicate to know each other
deeply.
In Ethiopia, people uses different mechanism for finding match mates for marriage through
media (FM Radio program), through agents (dellala), uses some dating sites which are not
popular. We just wanted to replace these traditional methods by introducing a new matrimonial
web site to Ethiopian citizens. We hope that “Ethio-Matrimonial” web based application will be
a new and useful site in our country for finding the perfect partner. The “Ethio-Matrimonial”
sites contains information like personal details, physical attributes, education and occupation,
habits, family profile and more about grooms and bides.
1.3Team Composition
The technical team of this project comprises 5 computer science B.Sc. undergraduate students.
# Name ID No Work Division Email-ID
1 Assefa RAMIT/1320/05 Project Leader, Ayese96@gmail.com
Senbato Designer, Programmer
2 Nathinael RAMIT/1505/05 Asst. Project leader, Nathinaelmesfi@gmail.com
Mesfin Designer, Programmer
3 Abdulkerim RAMIT/1280/05 System Designer & Kermo.mo@gmail.com
Mohammed Analyst
4 Habtemu RAMIT/1411/05 System Analyst & Habte.desta@yahoo.com
Desta Tester
5 Dawit Belete RAMIT/1361/05 System Designer & Dawit.belete@yahoo.com
Tester
Table 1 Team Composition
June
17th Dec-10th Mar
Dec
May
1 Project Proposal
2 Requirement
Analysis
3 Design
4 Implementation
5 Installation &
Testing
6 Project Closure
Table 2 Tasks and Schedule
We have used above development tools because of our team are more familiar with above such
as hypertext markup language (HTML) for client side scripting, Java Script for validation,
MySQL for database server, Apache for web server, hypertext pre-processor (PHP) for server
side scripting, and Macromedia Dream weaver, PHP Designer, and Notepad++ for writing
source codes among the language like Java and other we have study in our department .The
main reasons we have chosen above is we have study well and understood well during our
lectures and done some project with above tools.
The team will use this testing technique for the following reasons
White box testing: - We use this type of testing technique by observing the internal structures of
our program.
The team will use this testing technique for the following reasons:
It is easy to find out which type of input/data can help in testing the application
effectively.
To optimize the code
It helps in removing the extra lines of code, which can bring in hidden defects.
Early detection of errors during software development.
Integration Testing: - After we test each unit of the proposed system we will perform an
integration test to check whether the system meets all the functional requirements. When a
number of components are complete; it will test to ensure that they integrate well with each
other, the operating system, and other components.
Quality Assurance (system) testing:-After all of the above testing are checked we will test our
system by other peoples and we will conduct some comments how they get our system.
To implement our system we will use different tools such as hypertext markup language
(HTML) for client side scripting, Java Script for validation, MySQL for database server, Apache
for web server, hypertext pre-processor (PHP) for server side scripting, and Macromedia Dream
weaver, PHP Designer, and Notepad++ for writing source codes.
Existing system covers the description of the existing system, problem of the existing system and
what issues the proposed system going to improve and details about functional and non-function
requirements of proposed system.
Individual searches groom or bride based on limited area means from related
environments only.
Agent may depend on his/her business rather than groom’s and bride’s interest.
Some media also expresses simply peoples feeling and cannot attend or follow to
accomplish their interest.
Groom and Bride: two people who are interested for marriage.
Agent: broker or third person between those two peoples, sometimes we can mention as
elders in tradition culture special in our country.
Media: we can also take media as one player, because it uses to communicate between bride
and groom.
Major activities in existing system can be taken as inputs the following components to provides
match for person interested in marriage :-
Processes:
Agents or media players perform the following process depending on above process:-
Output:
After taking the above inputs and processing them, the agents or media provides the following
results or outputs.
The two parties interested for marriage will join each other and can arrange or set
wedding dates
When both families agreed for the wedding, where many guests are invited, there can
have different ceremonies including Dances and Music.
Finally, Bride and Groom becomes one family in order to success their dreams.
2.4Business rules
As mentioned above, the existing system follow to provide a match through Agents, Media and
other traditional methods, the major business rules in the existing system are the following:-
Final Year Project documentation Page 13
Both bride and grooms have to more than 18 years.
The bride or grooms have to inform necessary information according to their interest for
agents or media.
The bride or grooms have to promise with agent some money or other.
Agent has to find match according to the two people’s interest.
After, the bride or grooms inform all necessary information for the media with an
agreement that, the media have to broadcast those information for the society.
Report from agent:-the agents provide some forms for bride or grooms by considering their
information. In addition of that, when this two people are getting ready for marriage, the agents
follows until the marriage is over by arranging the whole wedding ceremony.
Report from media:-the media can provide the reports for both society and bride or grooms in
the form of publicity. When we say this, the media generate report for bride or grooms
depending on their required information for finding match and compare the result with interested
persons. And also media can be provide report for society depends on the result from previous
match to motivate the society and increase the interest of society find match for marriage
through media.
2.7.1 Performance
Obviously, as long as the existing system is manual and needs agents or media between two
persons, response time is very slow and inefficient.
2.7.2 Input and Output
The existing system mainly involves through agents or media to describe detail information
about groom and bride as Input and processed it to give better match for two people. However,
that result is not comfortable for the people, in case of agent’s interest is more on benefit rather
than the interest of groom and bride. Getting a better match through media is also happening
rarely.
2.7.4 Efficiency
Existing system has issues on its efficiency as well. The bride and groom have to depend up on a
third party to find their perfect match. Since they use agents or media, it may consume lots of
money and time. Hence, the existing manual system is not as efficient as enough.
2.8Practices to be preserved
Here most of the main activities that are performed in the current system will be preserved by
manual replication of activities. That is each activity that is applicable to the system are designed
and automated to achieve the best functionality. The team is going to develop a new system that
might overcome those problems under the existing system. These new system will be a web
based one that will change the way the current system operates, and services given to its users.
Some of the new systems that solve the existing system are:-
Process requirements: -The proposed system shall have the ability to processes the following
functionalities:
The system shall enable the administrator to access and manage the database
information.
The system shall enable to advertise some information for user on its home page with
related image.
The system shall enable to register bride and groom with their detailed information.
The system shall enable confirmation code to verify bride and groom during
registration.
User enters the Username and password to log in into the system.
User can view profile, upload photos, can see match and update profile if it’s necessary.
User can find match, send message and even can chat.
Backup and Recovery: The proposed system has little problem to reload, backup or recover
files. Backups or recovery can be done regularly.
3.1 Introduction
System Analysis covers the functional aspect of the whole analysis, which is Functional
modeling. We have used an object oriented methodology to analyze the requirements that are
needed to model the functionality of the proposed system. We have used different types of UML
diagrams which include use case diagram, sequence diagram, activity diagram, user interface
prototyping and analysis level class diagram to model the proposed system. Each and every
diagram has documentation to show their functionality and how they are operated.
The following lists of objects are System Requirement Specifications (SRS) for Ethio-
Matrimony application.
Use Case diagram list and their details description
Actors list
Sequence diagram
Activity diagram
Analysis level class diagram
User Interface prototyping diagram
Login
Regisration Generate
report
Manage user
See matches and system
User
See contact
Searching
profile Administ
rator
Send/Reciev
Edit profile
e message
Payment
option Send Notification
warning
<<Extend>>
Step 3: The users enters the Step 4: The system validates whether the
necessary information in the
information submitted is correct or not.
Users registration page.
Alternative Action Step 4: If the entered data is not validated and verified, system displays
error message and go to step 3 in Normal action.
Alternative Action Step 4: If there is no matches related to user entered data, system displays
no matches and go to step 2 in Normal action.
Alternative Action Step 4: If there is no matches related to user entered data, system displays
no matches and go to step 2 in Normal action.
Alternative Action Step 4: If there is some problem when user edit own profile, system
displays error message and go to step 4 in Normal action.
Post condition Users bank account have to balance with some money which is greater
balance transfer.
Alternative Action Step 4: If Users balance is empty or low in account, system displays error
message and go to step 2 in Normal action.
Post condition Admin have permission to generate report for any activity in system.
Alternative Action Step 4: If some problem exist during admin generate report, system
displays error message and go to step 2 in Normal action.
Alternative Action Step 4: If some problem when Administrator update system, system
displays error message and go to step 2 in Normal action.
Alternative Action Step 4: If Admin/Users enter invalid data, system displays error message
and go to step 2 in Normal action.
Step 3: The users click on Step 4:The system display send message
send message button on user
form for user.
account page.
Alternative Action Step 4: If Users try to send message without any text, system displays
error message and go to step 4 in Normal action.
Post condition System automatically displays notification on the Admin page and User
page.
Alternative Action Step 4: If there is no new notification, system displays previous
notification and go to step 2 in Normal action.
Post condition Users see what any information sent from Administrator.
Alternative Action Step 4: If Admin/Users enter invalid data, system displays error message
and go to step 2 in Normal action.
1: wants to login
login page in
use
correct
validating
access user
profile
User Admin
page Dispalyed display user
profile
object deletion
:Registration :Registration
:Registration
:Home personal socio- :Profile :Database
Registration physical
detail occupation
User
not valid
Object deletion
Search according to
Click enter key or search button
given information
Display user
search result
Give information
Object
deletion
user
update information
store database
fillup form and click on update
browse image
error message
2, user enter wrong account
number
error message
Object deletion
Display
generated report
display generated report
object deletion
Display success
message display updated/managed sucessfully
object deletion
search option
Display search
option
select option
Object relation
click on login
Displayed login
page Login page
not valid
click on message
Display User account
Displayed User write message
account click on send button store sent message
object deletion
click on login
Display login
page
login page
not valid
2.Enter valid user
name password
valid user name and password
See notification
Object deletion
Incorrect
Validate
Correct
Displa y Account
profile
Logout
NO
Vaildate
Registered
Login
Validate NO
YES
Display account
profile
Logout
See Matches
Notification
NO YES
If matches exist
See matches
Send interest
Logout
YES
NO
Is result found
See profile
Logout
Edit profile
Update necessary
information
NO
Validate
YES
Update profile
Upload photo
Logout
Payment option
Incorrect
Verify account
number
Transfer money
Correct
Store in database
Generate report
Incorrect Is correctly
Generated
Correct
Display report
Logout
Display change
Logout
Searching
No
Is result found
Yes
no result
found
Display result
Notification
NO Is there new
notification
YES
Logout
1 Notification
+Register()
message
+Modify 1
1..* 1 +Notify()
+Drop()
1 Login
+Login() -to
-body
1..*
+Send()
+Receive() 1..*
+time()
Bank
1 1
-Full name
-Account NO Searching
+Create()
+Deposit() +Search()
+Withdraw
+Check
Ethio-Matrimony
Home page
User Admin
Enter
personal
detail
Hide profile
Delete mail
The other Supplementary specifications are the business rules .The business rules is a principle
or a policy in which the proposed system operates accordingly. It deals with access control issue.
Some of the business rules that we have included in this project are the following:
4.1 Introduction
This chapter contains the designing and architectural parts of Ethio-matrimony website. In this
project we use object oriented system development methodology. The objectives of design are to
model the system with high quality. To have high quality of system that depends on the nature of
design created by the designer. If the system needs to repair, the whole process will be dependent
on system design, so if the whole system is designed effectively and precisely then it is easy to
make changes in the system.
Control/Process layer
Business/domain layer
system layer
persistence layer
Data source
Business/domain layer This layer checks whether the user pay his monthly or annual
payment to use the system.
Persistent layer This layer encapsulates the capability to store, retrieve and
delete objects or data.
System layer This layer provides operating system specific functionality for
the system. System layer also communicate all of the
remaining four layers
-full name:varchar()
-Age:int() Administrator
-Sex:varchar() 1..* +Register()
-Full
-Marital status:varchar() name:varchar()
-Height:varchar() -mail id:int Notification 1..*
-Weight:varchar() -Active session
-Education:varchar() Report generate
+Manage_user()
-Occupation:varchar() +Notify() user_id:int
-Religion:varchar() +Report_generate() username:varchar()
-Country:varchar() 1..* 1 +Mail() +All member()
1 -City:varchar() +Modify() +Paid member()
+Delete() +Free member()
+Logout
Notification
1
+Register()
message
notification_id:int
+Modify 1..*
1 user_id:int
1 datetime:varchar()
+Drop()
1 Login status:varchar()
1 1
-User name:varchar() +Notify()
-Password:varchar()
1
1 +Login() Message
Friend chat -from:varchar()
1..*
friend_id:int chat_id:int -to:varchar()
user_id1:int sender:varchar() 1..* -body:text
user_id2:int reciever:varchar()
Bank +Send()
status:varchar() datetime:varchar() post
datetime:varchar() 1 +Receive()
send() -Full name 1
post_id:int +time()
receive() -Account NO
addfriend() user_id:int
confirm() 1 post_txt:varchar()
reject() +Create() post_picture:varchar()
comment +Deposit()
+post()
+Withdraw
comment_id:varchar() +Check
post_id:int
user_id:int
comment_txt:varchar()
comment()
Invalid
Close
successful
Enter required Registered
Register
information message
Not successful
If matches Send
See matches Read notification
interest/Request
No matches
End
Close
Store in database
End process
Close
Update profile
Not valid
information Upload photo
End
close
Registration
View controller <<database>>
user
1.1 search
phone
name email
number
system
<<database>>
notification
see matches
see contact
profiles
edit profile
generate
report
user administrator
register
send and
receive
message
send
warninig
chat
send and
accept
request
post
Login
User
Security
See
matches
Generate
report
Edit profile
Searching
Administrator
Registration
Payment
option
See Database
contact
Send/reciv
e message
Manage user
and system
-full name
-Age Administrator
-Sex 1..* +Register()
-Full name 1
-Marital status -mail id
-Height -Active session Notification 1..*
-Weight +Manage_user()
-Education Report generate
+Notify()
-Occupation +Report_generate() user_id
-Religion +Mail() username
-Country 1..* 1 +Modify() +All member()
1 -City +Delete() +Paid member()
+Logout +Free member()
1
+Register() 1
message
Notification
+Modify 1..* 1
+Drop() notification_id
1 Login user_id:
1 1 datetime
-User name status
-Password
1 +Notify()
1 +Login() Message
Friend chat -from
1..*
friend_id chat_id -to
user_id1 sender 1..* -body
user_id2 reciever
Bank +Send()
status datetime post
datetime 1 +Receive()
send() -Full name 1
post_id +time()
receive() -Account NO
addfriend() user_id
confirm() 1 post_txt
reject() +Create() post_picture
comment +Deposit()
+post()
+Withdraw
comment_id +Check
post_id
user_id
comment_txt
comment()
1.1 Introduction
In this phase we have turned the physical design specification into working computer code, and
then the code is tested until most of the errors have been detected and corrected. The purpose of
this activity is to convert the final physical system specification into working model with reliable
software and hardware. So the team has worked for converting all the documents gathered and
designed into the code.
1.2 Final Testing of the system
Testing is a process to show the correctness of the program and designed to analyze the logic
used in the implementation of the System. In this system all errors in the forms, functions and
modules have been tested. To test the whole system the team follows the following procedures.
Compatibility tasting
Hardware Compatibility test- the system is compatible with all the Hardware and
Software listed under the Hardware and Software Acquisitions.
Software compatibility test – the system is compatible with all the software listed under
the development tool.
User interface tasting
the team has conducted this testing procedure to evaluate the GUI elements like field forms drop
down box, input type length, radio button are work properly and suitable for the users. As a
result all of these components are working properly.
Enter invalid user name and user name =xxx “wrong user name and
password =***
invalid password. password please reenter”
Enter empty username and valid user name = _ _ _ “user name cannot be empty”
password =***
password.
Enter valid username and empty user name = xxx “please enter password”
password =_ _ _
password.
Enter all fields empty user name = _ _ _ User name and password
password =_ _ _
cannot be empty
Sample code
///login.php
<head>
varuname = document.getElementById('inputEmail');
if(notEmpty(uname,"Enter UserName!")){
if(notEmpty(password,"Enter Password")){
return true; }}
return false; }
functionnotEmpty(elem, helperMsg){
if(elem.value.length ==0){
alert(helperMsg);
elem.focus();
return false;
return true; }
</script>
</head>
<div class="modal-header">
</div>
<div class="modal-body">
</div>
<div class="control-group">
<div class="controls">
</div>
</div>
<div class="control-group">
<div class="controls">
</div></div>
</div>
</div></form>
<?php
if (isset($_POST['login'])) {
function clean($str) {
$str = @trim($str);
$str = stripslashes($str); }
return mysql_real_escape_string($str); }
$UserName=clean($_POST['username']);
$Password=clean($_POST['password']);
$run=mysql_query($query);
if(mysql_num_rows($run)==1){
//if($run!=0){
while($row=mysql_fetch_array($run)){
$dbuser=$row['UserName'];
$dbpasw=$row['Password'];
$dbsex=$row['sex'];
$dbid=$row['user_id'];
$dbemail=$row['email'];
if($UserName==$dbuser&& $Password==$dbpasw){
session_start();
session_regenerate_id();
$_SESSION['se_user']=$UserName;
echo "<script>window.location='Home1.php'</script>";}}
Sample code
/////registration.php
<?php include('head.php')?>
<?php //Function to sanitize values received from the form. Prevents SQL injection
$str = @trim($str);
if(get_magic_quotes_gpc()) {
$str = stripslashes($str); }
return mysql_real_escape_string($str); }
$vseek=""; $vsex="";
if (isset($_POST['save'])) {
$image = addslashes(file_get_contents($_FILES['image']['tmp_name']));
$image_name = addslashes($_FILES['image']['name']);
$image_size = getimagesize($_FILES['image']['tmp_name']);
$uname=$_POST['username'];
$password=$_POST['password'];
$email=$_POST['email'];
$phone=$_POST['phone'];
$sex=$_POST['sex'];
$seek=$_POST['seek'];
$for1=$_POST['for_who'];
$month=$_POST['month'];
$year=$_POST['year'];
$country=$_POST['country'];
$state=$_POST['state'];
$age=2016-$year;
$pattern = "/^([a-z0-9])(([-a-z0-9._])*([a-z0-9]))*\@([a-z0-9])(([a-z0-9-])*([a-z0-9]))+(\.([a-z0-
9])([-a-z0-9_-])?([a-z0-9])+)+$/i";
//Input Validations
if (!preg_match($pattern,$email)){
if ($email=="") {
$e = ""; }
if ($uname=="") {
}else{
$vuname=""; }
if ($password=="") {
else{
$vpassword=""; }
if ($email=="") {
} else{
$vemail="";}
} else{ $vseek=""; }
if ($sex=="") {
$result = mysql_query($query);
while($row=mysql_fetch_assoc($result)){
$un1=$row['username'];
$em1=$row['email'];
$ph1=$row['phone'];
if($un1==$uname){
if($em1==$email){
if($ph1==$phone){
if($seek==$sex){
/* if($result) {
if(mysql_num_rows($result) > 0) {
if($uname!= "" && $seek!= $sex && $password!= "" && $phone!="" &&preg_match($pattern,
$email) ) }
Sample code
Payment.php
<?php include('head.php')?>
<?php
//Function to sanitize values received from the form. Prevents SQL injection
$str = @trim($str);
if(get_magic_quotes_gpc()) {
$str = stripslashes($str);}
return mysql_real_escape_string($str);}///
$vphone="";
$vemail="";
$a="";
$u="";
$e="";//
$email="";
$phone="";
if (isset($_POST['create'])) {
$account .=mt_rand(0,9) }
$email=$_POST['email'];
$phone=$_POST['phone'];
$amount=$_POST['amount'];
$pattern = "/^([a-z0-9])(([-a-z0-9._])*([a-z0-9]))*\@([a-z0-9])(([a-z0-9-])*([a-z0-9]))+(\.([a-z0-
9])([-a-z0-9_-])?([a-z0-9])+)+$/i";
if (!preg_match($pattern,$email)){
if ($email=="") {
$e = "";}
if ($email=="") {
$vemail="";}
$result = mysql_query($query);
while($row=mysql_fetch_assoc($result)){
$em1=$row['email'];}
if($em1!=$email){
if($phone!="" &&preg_match($pattern,$email) ) {
</div>';
?>
<head>
<script type='text/javascript'>
functionbank_formValidation(){
varPhoneNumber = document.getElementById('phone1');
if(notEmpty(amount,"amount required")){
functionphoneValidator(elem, helperMsg){
varphoneExp = /^\d{3}\d{3}\d{4}$/;
if(elem.value.match(phoneExp)){
return true;
}else{
alert(helperMsg);
elem.focus();
return false;
}}
if(elem.value.length ==0){
alert(helperMsg);
elem.focus();
return false;}
return true;}
functionisNumeric(elem, helperMsg){
varnumericExpression = /^[0-9,-,/]+$/;
if(elem.value.match(numericExpression)){
return true;}else{
alert(helperMsg);
elem.focus();
return false;}}
</script>
Sample code
Contact_search.php
<?php
session_start();
if(isset($_SESSION["se_user"])){
$session_id=$_SESSION["se_user"];
$session_sex=$_SESSION["se_sex"];
$ses_id=$_SESSION["se_id"];
?>
<?php
if(isset($_POST['name'])){
$name=trim($_POST['name']);
$count=mysql_num_rows($query2);
if($session_id==$name){
?>
<?php }
else{
?>
<?php }
?>
<?php
}}
?>
Hardware
Printer: For printing Documentation
Server: for connection to the client computer(to host the system)
Computers
Network connection materials
CD_ROM
1.5 Training
In order to provide clear information and to teach how to use this system, we will give some
awareness by using different popular social sites like facebook. There is also training by group
members for the system administrators by explaining how the system works and in what way
they can manage the system.
6.1 Conclusions
6.2 Recommandations
We strongly recommend that one who under goes through this project can succeed, if he or she
(they) pay(s) attention for expanding the system in any manner. Since the grading in not
accomplished for a full course, it can be improved. Adding audio video chatting, Taking two
person who match each other through this system up to marriage day in order to success
customer can be expect who interest to expand this system etc… can be included to improve the
Ethio-matrimony platform. Also, if there are email validations and password reset using email
alert is one of great ways of we can make our system more secure. The final recommendation
towards the target group who need to work on and improving it can even think of what make
References
Bibliography
Mall,Rajib(2009). Fundamentals of Software Engineering (3rd ed.). PHI Learning Private
Limited.
Kahate, Atul (2004). Object Oriented Analysis and Design. Tata McGraw-Hill
Works Cited