Voting System In PHP With Source Code

Voting System In PHP With Source Code

Project: Voting System in PHP with source code

– To download Voting System project for free (scroll down)

About Project

Voting System project is developed using PHP, JavaScript, Bootstrap, and CSS. Talking about the project, it has lots of essential features. This project contains a Voter’s login side where a voter can Sign in to vote and Admin Panel where he/she can view total votes, add and list voters, positions, candidates and many more. While logging in from voter’s login, the user should provide Voters ID in order to log in to the system to vote. The voter’s id can be retrieved from the Admin Panel.

About System

Admin has full control of the system, all the functions are to be performed from Admin panel. Here, the user can view total votes with respective voters name, add and list voters, positions, candidates, view ballot positions, edit election title and edit admin’s profile. To vote for an election, you need a voter and to add a voter, the user has to provide first and last name, password and upload a photo. Likewise, to add a position a short description and the maximum vote value should be provided. All the candidates can be views from the admin panel with their respective positions and similarly to add candidates for an election the user should provide a first name and last name, select position, upload a photo and write the platform.

Ballot positions can be maintained for the voters according to the admin’s will and the admin can change the election title easily anytime he/she wants. After all the votings, total votes can be viewed from Votes navigation, which displays Position with candidate and voter name. Before logging in as a voter, the user needs a voter account and a voter id. That can be retrieved from Voters List, the system generates Voters id automatically and the user has to copy it then paste in voter’s login section and provide a password to continue as a voter. A clean and responsive dashboard is provided in the admin panel for the easy management of the voting system. Voting system in PHP helps in easy management of the votes for certain objectives. Design of this project is pretty and responsive so that user won’t find it difficult to understand, use and navigate.

To run this project you must have installed virtual server i.e XAMPP on your pc (for Windows). Voting system in PHP is free to download with source code, Use for educational purposes only! For the project demo, have a look at the image slider below.

  • VOTER'S LOGIN

Features:

  1. Voter’s Login
  2. Admin Panel
  3. View and reset votes
  4. CRUD Voters
  5. CRUD Position
  6. CRUD Candidates
  7. Ballot Positions
  8. Select Election Titles
How To Run??

After Starting Apache and MySQL in XAMPP, follow the following steps

1st Step: Extract file
2nd Step: Copy the main project folder
3rd Step: Paste in xampp/htdocs/

Now Connecting Database

4th Step: Open a browser and go to URL “http://localhost/phpmyadmin/”
5th Step: Then, click on databases tab
6th Step: Create database naming “votesystem” and then click on import tab
7th Step: Click on browse file and select “votesystem.sql” file which is inside “database” folder
8th Step: Click on go.

After Creating Database,

9th Step: Open a browser and go to URL “http://localhost/votesystem/”
For Admin Panel
Final Step: Go To URL “http://localhost/votesystem/admin/”
Insert the username and password which is provided inside the “Readme.txt” file.
Note: Voter ID can be retrieved from Admin Panel – voters list. Copy the Voters ID from Voters List, Admin Panel and Paste it to Voter’s Login in order to proceed for voting.

LOGIN DETAILS ARE PROVIDED IN “Readme.txt” FILE INSIDE PROJECT FOLDER

DOWNLOAD VOTING SYSTEM IN PHP WITH SOURCE CODE: CLICK THE BUTTON BELOW

Download

 

16
Leave a Reply

avatar
9 Comment threads
7 Thread replies
1 Followers
 
Most reacted comment
Hottest comment thread
7 Comment authors
Naseeb BajracharyaJosé Silva SolíspoojasambathgouthamVJ Mwiiya Recent comment authors
  Subscribe  
newest oldest most voted
Notify of
govind
Guest
govind

i am finding error that
( ! ) Fatal error: Call to undefined function password_verify() in C:\wamp\www\votesystem\login.php on line 17
Call Stack
# Time Memory Function Location
1 0.0009 373752 {main}( ) ..\login.php:0

Naseeb Bajracharya
Guest

try installing PHP 5.6.3, it might work!!

govindraj
Guest
govindraj

finding error
( ! ) Fatal error: Call to undefined function password_verify() in C:\wamp\www\votesystem\login.php on line 17
Call Stack
# Time Memory Function Location
1 0.0009 373752 {main}( ) ..\login.php:0

Naseeb Bajracharya
Guest

try installing PHP 5.6.3, it might work!!

anto
Guest
anto

i am finding error how do i solve the issue.
Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in C:\wamp64\www\busreservation\db.php on line 7
Call Stack
# Time Memory Function Location
1 0.0024 240256 {main}( ) …\deleteres.php:0
2 0.0041 243608 include( ‘C:\wamp64\www\busreservation\db.php’ ) …\deleteres.php:4
3 0.0041 244544 mysql_connect ( ) …\db.php:7
Could not select database

Naseeb Bajracharya
Guest

it seems like you’re using PHP 7
for this, you have to configure in db.php
or simply use PHP 5.6.3, it works perfectly!!

VJ Mwiiya
Guest
VJ Mwiiya

It works very fine. Please include column for adding new user. The added users should be standard user who can only see voters and add voters.

VJ Mwiiya
Guest
VJ Mwiiya

It is restricted to one user. Lets have an allowance to add standard users. Thanks

goutham
Guest
goutham

i cant find login for admin pannel what should i do…

Naseeb Bajracharya
Guest

Voter’s login is in the index page and for the admin panel check the post description

poojasambath
Guest
poojasambath

plz send me this code([email protected])

Naseeb Bajracharya
Guest

You can download it from our site. There’s a Green Download Button below the h2 text “Download Voting System . . . “

José Silva Solís
Guest
José Silva Solís

NO PUEDO INICIAR SESION, YA PUSE PHP A 5.6 Y NADA 🙁

José Silva Solís
Guest
José Silva Solís

I CAN NOT SESSION START, I ALREADY PUT PHP TO 5.6 AND NOTHING, help

José Silva Solís
Guest
José Silva Solís

I CAN NOT SESSION START, I ALREADY PUT PHP TO 5.6 AND NOTHING, help!!!!!!!!!!!!!

Naseeb Bajracharya
Guest

What’s your main problem? can you please send your screenshot at [email protected]