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.
Features:
- Voter’s Login
- Admin Panel
- View and reset votes
- CRUD Voters
- CRUD Position
- CRUD Candidates
- Ballot Positions
- 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.
i am finding error that
( ! ) Fatal error: Call to undefined function password_verify() in C:wampwwwvotesystemlogin.php on line 17
Call Stack
# Time Memory Function Location
1 0.0009 373752 {main}( ) ..login.php:0
finding error
( ! ) Fatal error: Call to undefined function password_verify() in C:wampwwwvotesystemlogin.php on line 17
Call Stack
# Time Memory Function Location
1 0.0009 373752 {main}( ) ..login.php:0
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:wamp64wwwbusreservationdb.php on line 7
Call Stack
# Time Memory Function Location
1 0.0024 240256 {main}( ) …deleteres.php:0
2 0.0041 243608 include( ‘C:wamp64wwwbusreservationdb.php’ ) …deleteres.php:4
3 0.0041 244544 mysql_connect ( ) …db.php:7
Could not select database
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.
It is restricted to one user. Lets have an allowance to add standard users. Thanks
You can add users from the admin panel. The user panel has no privilege of adding another user in the system.
i cant find login for admin pannel what should i do…
Voter’s login is in the index page and for the admin panel check the post description
plz send me this code([email protected])
did you got it running
NO PUEDO INICIAR SESION, YA PUSE PHP A 5.6 Y NADA 🙁
I CAN NOT SESSION START, I ALREADY PUT PHP TO 5.6 AND NOTHING, help
i am finding error that
( ! ) Fatal error: Call to undefined function password_verify() in C:wampwwwvotesystemlogin.php on line 17
Call Stack
I CAN NOT SESSION START, I ALREADY PUT PHP TO 5.6 AND NOTHING, help!!!!!!!!!!!!!
What’s your main problem? can you please send your screenshot at [email protected]
I CAN’T PRINT THE RESULT OF THE ELECTION
Warning: “continue” targeting switch is equivalent to “break”. Did you mean to use “continue 2”? in C:\xampp\htdocs\VotingSystem_PHP\votesystem\tcpdf\tcpdf.php on line 17778
TCPDF ERROR: Some data has already been output, can’t send PDF file
Xbxbxb
your project is very smart but at the first page(voter id and password )can not allow me to access it please help me how can i get to admin to votesystem
how can the student view all the poll results?
The student or user cannot view the poll results. Its in the admin panel.
how can the voters view all the poll results?
nice, thanks. how to change the language to Indonesian?
I m not able to get the registration page
how to create one more admin? i already insert new admin in the database but it keep saying “incorrect password”. how to generate random password in mysql?
Warning: mysqli::__construct(): (HY000/1049): Unknown database ‘votesystem’ in D:xampphtdocsvotesystemadminincludesconn.php on line 2
Connection failed: Unknown database ‘votesystem
you have to create a database naming “votesystem” and import the SQL file “votesystem.sql”
after that i am facing 404 error not found
the request url is not on this server how to resolve this
The system allows me to vote for two candidates at the same time, as I do to only vote for one?
You need to configure the maximum vote for each position from the admin panel
Incorrect p
Thank You … How I can change username and password, Please.
Thank you For Help me…
what is the url address of voters page ? i can find it only the admin
1. how do i insert bulk voters
2. how do i create other users and restrict their roles
Did you find out a solution for bulk voters upload?
unable to download plz send it on my email [email protected]
you have to pass through human verification. Click on I’m not robot, then only you can download the files
plz send me this code ( [email protected]).I cann’t download.
you have to pass through captcha verification. Click on I’m not robot then only you can download the files
I can’t download the file and no captcha verification to pass through
captcha verification is right above the Green download button
make sure you have turned off your adblocker because it might also block
CAN IT RUN ON WAMP??
i added a new admin name and password in admin table but it says incorrect password everytime.please help
i cant find login for voters pannel what should i do
please can i get the report for this project?
[email protected]
Even i to need sir . kindly can you please send me report.
I can’t log in
I got an error “Cannot find voter with the ID ”
while I’m trying to use Your name ” codeprojects ” and Password ” password ”
Could you please help me to solve this problem?
Thank you!!
I solved it
Thank you !!
how
Please i can download the file
look carefully, there’s a GREEN Download Button below h2 text “Download Voting System in PHP . . “
Please can i get the downloading URL of the file?
look carefully, there’s a GREEN Download Button below h2 text “Download Voting System in PHP . . “
I truely appreciate the effort you guys are putting in here, i pray God grant u more grace to do exploit.
I tried to put the username and password given but it shows cannot find voter with the ID.
I am using xampp for the sql and sublime.
we have provided Admin Login Details only! that’s not voter’s username and password.
simply login as admin and check Voter’s ID and password in order to log in as Voter
I have an error in login of this project can you please help
thanks for the script, it really lovely, but i have a little issue trying to login, telling me cant find username.
i replaced the php script in conn.php with
so am having difficulty in loggin in as admin
i really like the system plz send to me the codes
source code is available there
you can download it
how can i solve this problem
Warning: “continue” targeting switch is equivalent to “break”. Did you mean to use “continue 2”? in C:\xampp\htdocs\VotingSystem_PHP\votesystem\tcpdf\tcpdf.php on line 17778
TCPDF ERROR: Some data has already been output, can’t send PDF file
does this work on a 32 bit wamp? because i only have a 32 bit windows 7
please i am not able to open the voting system dashboard. i followed the steps but anytime i tried opening http://localhost/votesystem/ and admin side i get page not found message . i need help.
please creat voters registration form ..its to hussle to create acc every voters
Thank you very much, i was able to use this in an official election for teacher organization in our school division here in the Philippines. Although i did not use the entire functions but the bones and everything of the system helped me in administration. Well instead of having a traditional method of paper and pencil voting, voters were able to vote even in the comfort of their android phones.
Firstly, i got the sign in to start up a session using voter’s id and password and i saw from the txt file READ ME; id is code projects and password is password…
i’m having errors opening the localhost because it’s not signing in; what am i meant to use to sign in??? and also i get this:
Warning: mysqli::mysqli(): (28000/1045): Access denied for user ‘root’@’localhost’ (using password: NO) in /Applications/AMPPS/www/votesystem/includes/conn.php on line 2
Connection failed: Access denied for user ‘root’@’localhost’ (using password: NO)
irrespective of the username and password i used… please help!
Can i change the navbar and background color?
yes
how to solve this problem sir i Can’t print the result of election
Warning: “continue” targeting switch is equivalent to “break”. Did you mean to use “continue 2”? in C:\xampp\htdocs\VotingSystem_PHP\votesystem\tcpdf\tcpdf.php on line 17778
TCPDF ERROR: Some data has already been output, can’t send PDF file
the system is user friendly But how can I have the system used in many computers to enable many voters to vote at the same time?
i can’t print the result please help
Warning: “continue” targeting switch is equivalent to “break”. Did you mean to use “continue 2”? in C:\xampp\htdocs\VotingSystem_PHP\votesystem\tcpdf\tcpdf.php on line 17778
TCPDF ERROR: Some data has already been output, can’t send PDF file
no database error even though im using 5.6.3 version plz help
I always get 404 object not found error whenever I go to localhost/votesystem/admin/ can you help me please.
did you put the folder inside htdocs folder
Please need report of ths project.
Please need report of ths project.
Please need report of ths project.
sorry we don’t have it
i can’t print the result please help
it shows these massages.
Warning: “continue” targeting switch is equivalent to “break”. Did you mean to use “continue 2”? in C:\xampp\htdocs\VotingSystem_PHP\votesystem\tcpdf\tcpdf.php on line 17778
TCPDF ERROR: Some data has already been output, can’t send PDF file
Maybe your composer is outdated. Below are the steps to get rid of the error.
Note: For Windows professionals, Only Step2 and Step3 is needed and done.
Step1
Remove the composer:
sudo apt-get remove composer
Step2
Download the composer:
php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
Step3
Run composer-setup.php file
php composer-setup.php
Step4
Finally move the composer:
sudo mv composer.phar /usr/local/bin/composer
Your composer should be updated now. To check it run command:
composer
You can remove the downloaded composer by php command
php -r "unlink('composer-setup.php');"
project is not running
i cant access the admin username and password. please tell me how can i access it says “Cannot find voter with the id”
you have to go to “http://localhost/votesystem/admin/” first to login as admin
IT SAYS OBJECT NOT FOUND WHEN I ACCESS THE http://localhost/votesysteM
its means you dont have such directory in htdocs folder
please check the folder name of the project correctly and try it again
How can I max register voters and generate voters ID
How can I send the voters ID to mail directly after registration. WhatsApp 08032775788 or [email protected]
I can’t print the voters’ list. PDF is showing nothing. What should I do?