Online Voting System using PHP with Source Code

Language

This is a complete Online Voting System I created for my final year project for the University of Lusaka in Zambia. This system is a PHP Project that provides an online platform to vote. The system was developed for a specific school. This project stores the candidate details, voters details, and etc. The voters in this project are the student of the school and in order for them to vote, they must register their system account and their student ID number is required. After the student registration to the system, the system admin user will activate the student accounts so they could vote for their candidates. The system has 3 types of users which are the Admin, Staff, and Voters. The admin can manage all of the data in this system and the staff has only limited access to manage the data. This Voting System generates a printable report for the total counts of the vote for all candidates.

The project was developed using PHP/Mysqli, MySQL Database, HTML, CSS, Javascript (jQuery and Ajax), and Bootstrap for the design. The system source code is free to download. Just follow the instructions that are provided below to run the project properly.

Features

Admin Side

  • Login/Logout
  • Manage Candidate
  • Activate/Deactivate Voters
  • Manage Students
  • Generate Election Report
  • Manage User/Staff List
  • View User Time Logs

Staff Side

  • Login/Logout
  • Manage Candidate
  • View Voters List
  • Manage Students
  • Generate Election Report
  • View User/Staff List

Voters

  • Register to the system
  • Vote

How to Run

Requirements

  • Download and Install any local web server such as XAMPP/WAMP.
  • Download the provided source code zip file. (download button is located below)

Installation/Setup

  1. Open your XAMPP/WAMP's Control Panel and start the "Apache" and "MySQL".
  2. Extract the downloaded source code file.
  3. If you are using XAMPP, copy the extracted source code folder and paste it into the XAMPP's "htdocs" directory. And If you are using WAMP, paste it into the "www" directory.
  4. Browse the PHPMyAdmin in a browser. i.e. http://localhost/phpmyadmin
  5. Create a new database naming "vote".
  6. Import the provided SQL file. The file is known as "vote.sql" located inside the "database" folder.
  7. Browse the Online Coting System in a browser. i.e. http://localhost/voting

Admin Access Information

Logi ID: 1
Username: admin
Password: admin

User Access Information

Logi ID: 4
Username: user
Password: user

Demo

That's it! You can now explore the features and functionalities of this project. I hope this will help you with what you are looking for.

Happy Coding :)

Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. After downloading it, you will need a program like Winzip to decompress it.

Virus note: All files are scanned once-a-day by SourceCodester.com for viruses, but new viruses come out every day, so no prevention program can catch 100% of them.

FOR YOUR OWN SAFETY, PLEASE:

1. Re-scan downloaded files using your personal virus checker before using it.
2. NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.

Comments

Submitted byNiceyemmon Tue, 08/20/2019 - 14:58

Please send the complete project sources code with the project articles to [email protected] i want to use it for my final year project. thank you
Submitted byAnonymous (not verified)on Mon, 09/06/2021 - 18:09

I can't login as a voter? can you help me fix that thank you, highly appreciated
Submitted byAnonymous (not verified)on Thu, 04/04/2024 - 21:55

can we remove the extra categories like president,vice-president,etc?
Submitted bynayakon Mon, 04/15/2024 - 16:24

Hopefully, you are doing well as I write this comment I would want to convey my interest in acquiring a PHP-based online voting system for our company's requirements.

Our present goal is to find a way to improve the efficiency and transparency of our internal voting procedures. We have read the description of your system and feel that the Online Voting System you have created is a great fit for what we need.

We would like further information and clarification on the following queries:


Is it possible for the system you provide to be tailored to our particular requirements, like integrating with our current systems?

Do you offer technical assistance and upkeep once the system

Here are some questions and information we would like to know more about:

Can the system you offer be customized to our specific needs, such as integration with our existing systems?

Do you provide technical support and maintenance after the system implementation?

How is the delivery and implementation process of the system carried out?

Are there any additional costs that we need to consider besides the system purchase price?

We are very interested in further discussing the solution you offer and how the system can meet our needs. Please provide more information about features, pricing, and the purchasing process.


 

Thank you for your attention to our request. We look forward to your prompt response.

Add new comment