1Compuer Science and Engineering, GRD IMT Dehradun
2HOD, Compuer Science and Engineering, GRD IMT Dehradun
The Online Voting System project is concerned with the various aspects of the electoral process. The main idea is to implement the. Paper process in mobile app. The current system has many manual tasks such as listing nominees, Voters, and counting the percentage of votes. In the proposed project all activities are performed as a Mobile Application. In the manual process counting is a time-consuming process as in the online voting system the counting will automatically increase. The list of nominees can be added very easily and voting is an easy way to click the Vote button Your counting will be added. This mobile app has voting issues for every voter to vote at once. In the event that an invalid person will not be able to vote. Elections allow people to choose their representatives and express their preferences about how they will be governed. Naturally, the integrity of the electoral process is the basis of the integrity of the democracy itself. The electoral system must be strong enough to withstand a wide range of fraudulent activities and must be transparent and understandable so that voters and candidates do not accept the election results. The design of the “good” voting system, whether electronic or traditional paper balloons or materials should satisfy a number of competing terms at times.
In “Online Voting System” a voter can use his\her voting right online without any difficulty. He\She has to fill a registration form to register himself\herself. All the entries is checked by the DATABASE which has already all information about the voter. If all the entries are correct then a USER ID and PASSWORD is given to the voter, by using that ID and PASSWORD he\she can use his\her vote. If conditions are wrong then that entry will be discarded.
The scope of the project that is hosted on the server. There is a DATABASE which is maintained by the Election Commision Of India in which all the names of voter with complete information is stored.
This project will be a Web application to be developed in PHP having
DFD: Level
<?php if (! isset($_Session['Sess_Name'])) {
header ("Location: login.php");}?><?php
if (! isset($_SESSION)) {session start ();} include "auth.php";include "header_voter.php";?><br><br>
<center><h3>Change Password</h3></center><h4 style="color: #e60808;"><?php global $nam; echo $nam;> </h4> <?php global $error; echo $error;>
<center><form action="change_pass_action.php" method="post" id="myform"> Current Password: <input type="password" name="cpassword" value="" > <br> <br> New Password: <input type="password" name="npassword" value="" > <br> <br> Confirm New Password: <input type="password" name="cnpassword" value="" > <br> <br> <input type="submit" name="cpass" value="UPDATE" > </form></center> <script type="text/javascript">
var frm validator = new Validator("myform"); frm validator. Add Validation ("cpassword","req","Please enter Current Password"); frmvalidator. Add Validation ("cpassword","maxlen=50"); frm validator. add Validation ("npassword","req","Please enter New Password"); frm validator. Add Validation ("npassword","maxlen=50"); frm validator. Add Validation ("cnpassword","req","Please enter Confirm New Password"); frm validator. Add Validation ("cnpassword","maxlen=50"); </script> <br> <br> <?php include "footer.php";?> <?php
session_start (); include "auth.php"; include "connection.php"; if(isset($_POST['cpass'])) {
$currentpass = md5($_POST['cpassword']); $newpass = md5($_POST['npassword']);
$cnewpass = md5($_POST['cnpassword']);
$currentpass = addslashes($currentpass);
$newpass = addslashes($newpass);
$cnewpass = addslashes($cnewpass);
$currentpass = mysqli_ real_ escape_ string ($con, $currentpass); $newpass = mysqli_ real _escape _string ($con, $newpass); $cnewpass = mysqli_real_escape_string($con, $cnewpass); $sql = mysqli_query($con, 'SELECT password FROM login users WHERE username = "'.$_SESSION['SESS_NAME'].'" '); $row = mysqli_fetch_assoc($sql); $pass = $row['password']; if ($currentpass! = $pass) {$error = "<center><h4><font color='#FF0000'>Incorrect Current Password! </h4></center></font>"; include ("change_pass.php");} else if ($currentpass == $pass && $newpass == $cnewpass) {$sql1 = mysqli_query($con, 'UPDATE loginusers SET password="'. md5($_POST['npassword']).'" WHERE username="‘. $_SESSION['SESS_NAME'].'" ');
$error = "<center><h4><font color ='green'>Password successfully changed! </h4></center></font>"; include ("change_pass.php");} else {$error = "<center><h4><font color='#FF0000'>New Password and Confirm Password does not match! </h4></center></font>"; include ("change pass. php");}} else {$error = "<center><h4><font color = '#FF0000'>Error! </h4></center></font>"; include ("change_pass.php");}?> <?php $con = mysqli_connect("localhost","root","","polltest") or die ("error”. mysqli_error($con) );?> <br> <br>
CONCLUSION
This Online Voting system will manage the Voter’s information by which voter can login and use his voting rights. The system will incorporate all features of Voting system. It provides the tools for maintaining voter’s vote to every party and it count total no. of votes of every party. There is a Database which is maintained by the Election Commision Of India in which all the names of voter with complete information is stored. In this user who is above 18 year’s register his/her information on the database and when he/she want to vote he/she has to login by his id and password and can vote to any party only single time. Voting detail store in database and the result is displayed by calculation. By online voting system percentage of voting is increases. It decreases the cost and time of voting process. It is very easy to use and It is vary less time consuming. It is very easy to debug
REFERENCE
Sunil Kumar Tiwari, Suman Rani*, An Overview of The Online Voting System and Its Application, Int. J. Sci. R. Tech., 2025, 2 (4), 45-50. https://doi.org/10.5281/zenodo.15168946