You are on page 1of 16

MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION

VIDYAVARDHINI’S BHAUSAHEB VARTAK


POLYTECHNIC ,VASAI ROAD WEST

MICRO PROJECT
Academic year: 2022-2023

Title of Micro Project:


Online voting system

Program/Code: Computer Engineering (CO) Semester: Sixth


Course/Code : Web Base Application Development using PHP

Name: Roll No:1904, 1905, 1906


Enrolment No.: 2000930063, 2000930064
2000930065

Name of Faculty: Prof.Amrita Rathod


MAHARASHTRA STATE BOARD OF TECHNICAL
EDUCATION

Certificate

This is to certify that Mr. /Ms.…………………………………………………. …


Roll No: 1904,1905,1906 of FIFTH Semester of Diploma in of Institute, B.V.
POLYTECHNIC (Code: 0093) has completed the Micro Project satisfactorily in for the
Web Base Application Development using PHP (22619) academic year 2022- 2023 as
prescribed in the curriculum.

Place: Vasai Enrolment No: ……………………………………

Date: ……………………… Exam. Seat No: …………………………………….

Subject Teacher Head of the Department Principal

Seal of

Institution
Annexure - I

Part A: Micro Project Proposal

1.1Aim/Benefits of the Micro-Project: The main to Study


2.1 Course Outcomes integrated:
a) Develop program using control statement.
b) Perform operations based on arrays and graphics.
c) Develop programs by applying various object oriented concepts.
d) Use form controls with validation to collect user’s input.
e) Perform database operations in PHP.

Proposed Methodology:
1. Literature survey.
2. Collect information through different sources
3. Analysis of data.
4. Compilation of collected data.

4.0 Action Plan

Sr. Planned Planned Name of


Details of the activity
No. Start date Finish date Members
1 Formation of Group & Topic Selection All members
2 Submission of Proposed Plan All members
3 Preparation of Report All members
4 Final valuation of a working Report All members
5 Presentation of Report All members
6 Submission of Final Report All members

5.0 Resource Required:


Sr.
Name of resources/Material Specifications Qty Remarks
No.
Processor: i3
1. Computer 1
RAM : 4.00 GB
2. Microsoft Word Word -2016
3. Printer Hp Laser Jet 1
4. Book/ website name
6.0 Name of Team Members with Roll No:

Roll No Individual
Sr. Process and Total
Name of Students Presentation
No. Product
(04) (10)
assessment (06)
01 1904
Jash Mhatre
02 1905
Satvik Pereira
03 1906
Stalin Rodrigues

Name & Signature of Faculty: Prof.Amrita Rathod


Annexure-

Final Micro Project Report

Title:

RATIONALE. PHP is a general purpose, server-side scripting language run a web server that's designed to
make dynamic pages and applications. PHP as a web development option is secure, fast and
reliable. In the growing field of Web technology it is essential for every Diploma pass outs to
learn PHP Language to help them build interactive web applications. This course is designed
to inculcate web based applications development skills in students using server side scripting
with PHP.
2. 0 Course Outcomes Integrated:
a) Develop program using control statement.
b) Perform operations based on arrays and graphics.
c) Develop programs by applying various object oriented concepts.
d) Use form controls with validation to collect user’s input.
e) Perform database operations in PHP.
3.0 Actual Procedure Followed.
1 Discussion about topic with guide and among group members
2 Literature survey
3 Information collection
4 Compilation of content
5 Editing and revising content
6 Report Preparation
4.0: Actual Resources Required:

Sr.
Name of resources/Material Specifications Qty Remarks
No.
Processor: i3
1. Computer 1
RAM : 4.00 GB
2. Microsoft Word Word -2016
3. Printer Hp Laser Jet 1
4. Book/Site name

7.0 Skill Developed/Learning outcomes of this Micro-Project

The following skills were developed:


1. Teamwork: Learned to work in a team and boost individual confidence.
2. Problem-Solving: Developed good problem solving habits.
3. Technical Writing: Preparing the report of proposed plan and the final report.
Annexure - III

Rubrics for Assessment of Micro-Project

Title:
Institute Code: 0093/1738 Academic year: 2022-2023
Program: CO Course & Code: PHP(22619)
Name of Candidate: Roll No:
Semester: FIFTH Name of Faculty: Prof.Amrita Rathod

Sr. Poor Average Good Excellent


Characteristic to be Assessed
No. (Marks 1-3) (Marks 4-5) (Marks 6-8) (Marks 9-10)

1. Relevance to the Course


Literature Survey/Information
2.
Collection
3. Project Proposal
Completion of the Target as per
4.
Project Proposal
5. Analysis of Data and Representation
6. Quality of Prototype/Model
7. Report Preparation
8. Presentation
9. Viva
Annexure- IV

Micro-Project Evaluation Sheet


Title:

Institute Code: 0093 Academic year: 2022-2023


Program:CO Course & Code:PHP(22619)
Name of Candidate: Roll No:
Semester: FIFTH Name of Faculty: Prof.Amrita Rathod
Course Outcomes Achieved:
a) Develop program using control statement.
b) Perform operations based on arrays and graphics.
c) Develop programs by applying various object oriented concepts.
Evaluation as per Suggested Rubric for Assessment of Micro Project:
Sr. Characteristic to be Poor Average Good Marks Excellent Sub
No. assessed Marks Marks 4-5 6-8 Marks 9-10 Total
1-3
(A) Process and product assessment Out Of 6

1 Relevance to the course

2 Literature Survey .
Information Collection
3 Completion of the
Target as per project
proposal
4 Analysis of Data and
representation
5 Quality of
Prototype/Model/Conte
nt
6 Report Preparation
(B) Individual Presentation/Viva Out of 4
7 Presentation .
8 Viva

Name and designation of the Faculty Member: Prof.Amrita Rathod


Weekly Activity Sheet
Topic:

Institute Code: 0093 Academic year: 2022-2023


Program: CO Course & Code: PHP(22619)

Name of Candidate: Roll No:


Semester: FIFTH Name of Faculty: Prof.Amrita Rathod

SR. NO WEEK ACTIVITY PERFORMED

1. 1st Week Discussion and Finalization of Topic


2. 2nd Week Literature Review
3. 3rd Week Submission of Proposed Plan
4 4th Week Information Collection
5. 5th Week Analysis of Data
6. 6th Week Compilation of content
7. 7th Week Editing and Revising the Content
8. 8th Week Report Preparation
9. 9th Week Report Preparation
10. 10th- 12th Week Presentation

Signature of Student Dated Signature of Faculty


Brief Description :
An online voting system is a web-based platform that enables users to cast their vote through
an internet connection. The system is created by using HTML, CSS, PHP, and MySQL likely
consists of several components, such as:
1. User registration: Users create an account by providing their personal information,
such as name, email address, and password.
2. Voting page: This is where users can view the candidates and cast their vote. The page
may include email, password, name of candidate, and voting buttons.
3. Database management: The system uses MySQL to store user data, candidate
information, and voting records.
Overall, your online voting system allows for a secure and convenient way for users to
participate in the democratic process from the comfort of their own device.

Problem Definition:
The problem definition for an online system could vary depending on the specific project.
However, some common issues that may need to be addressed include:
1. User authentication and authorization: The system should have a secure way of
authenticating users and controlling access to certain pages or functionality based on
user roles.
2. Data validation and sanitization: All user input, such as form submissions, should be
validated and sanitized to prevent SQL injection attacks or other security
vulnerabilities.
3. Data storage and retrieval: The system should be able to store and retrieve data from a
MySQL database in a secure and efficient manner.
4. User interface design: The system's user interface should be intuitive, user-friendly,
and accessible to all users.
5. Performance optimization: The system should be optimized to handle a high volume
of users and requests without slowing down or crashing.
6. Error handling and logging: The system should have robust error handling and
logging capabilities to help troubleshoot and fix issues that may arise.
7. Testing and maintenance: The system should be thoroughly tested and maintained to
ensure it remains functional, secure, and up-to-date with the latest technologies and
best practices.
Code:
1. Index.php file
<?php session_start();?>
<!DOCTYPE html>
<html>
<head>
<title>Simple Voting System</title>
<style>
body{
background-color: #90EE90;
font-family: sans-serif;
}
.login_form {
text-align: center;
}
.login_form .box{
text-align: center;
max-width: 500px;
margin: auto;
background:#D7BFDC;
padding: 80px;
border: 10px solid black;
}
.login_form button{
width: 75px;
font-size: 20px;
color: white;
cursor: pointer;
font-weight: bold;
background: #1A237E;
border: 1px solid #3949AB;
transition: .5s;
}
</style>
</head>
<body>
<marquee>Welcome To Online Voting System</marquee>
<form action="vote.php" class="login_form" method="POST">
<?php
if(isset($_SESSION['status']))
{
echo "<h4>".$_SESSION['status']."</h4>";
unset($_SESSION['status']);
}
?>
<h1>Vote for Your Candidate</h1>
<div class="box" >
<div class="font"><b>Email</b></div>
<input autocomplete="off" type="text" name="email"><br><br>
<div class="font2"><b>Password</b></div>
<input type="password" name="password"><br><br>
<div class="font3"><b>Gender</b></div>
<input type="radio" name="gender" value="Male">Male<br>
<input type="radio" name="gender" value="Female">Female<br><br>
<div class="font4"><b>Candidate</b></div>
<input type="radio" name="candidate" value="Cycle">Cycle<br>
<input type="radio" name="candidate" value="Flower">Flower<br>
<input type="radio" name="candidate" value="Umbrella">Umbrella<br>
<input type="radio" name="candidate" value="Clock">Clock<br><br>
<button type="submit" name="submit">Vote</button>
<button type="submit" name="submit">Result</button>
</div>
</form>
</body>
</html>
2. vote.php file
<?php
session_start();
$con = mysqli_connect("localhost","root","","vote");

if(isset($_POST['submit']))
{
$email = $_POST['email'];
$password = $_POST['password'];
$gender = $_POST['gender'];
$candidate = $_POST['candidate'];

$query = "INSERT INTO users (email,password,gender,candidate)


VALUES('$email','$password','$gender','$candidate')";
$query_run = mysqli_query($con,$query);

if($query_run){
$_SESSION['status'] = "Inserted Successfully";
header("Location: index.php");
}
else{
$_SESSION['status'] = "Not Inserted";
header("Location: index.php");
}
}
?>
Output:
Conclusion
This project for PHP (Web Based Application Development with PHP) has been
created by the students of TYCO (1904,1905,1906), year 2022 to 2023. In this
project we have given the working of online voting system at the basic level
made by using php and mysql.

All the group members worked really hard to create this project and have
contributed equally. Due to this project, we have our concepts clear regarding
various topics in PHP and we can implement this knowledge going further.

Reference for the Microproject are:-

• Youtube.com
• javatpoint.com
• tutorialspoint.com
• geeksforgeeks.org
• w3schools.com

You might also like