e-Voting System

Language

This Program is created for college election using php...for more info: (email me at [email protected])

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.

Tags

Comments

Submitted byjustprem05on Sat, 03/10/2012 - 16:30

Account information: username: admin password: admin
Submitted bykariukimeme (not verified)on Mon, 07/30/2012 - 16:22

In reply to by justprem05

hi, thanks for the code....bt i got issues with loggin, ave changed the code abit but i stil cant login, especially with the admin part. what are the usernames and passwords....save a brother
Submitted byjustprem (not verified)on Mon, 08/13/2012 - 22:59

In reply to by kariukimeme (not verified)

Account information: username: admin password: admin
Submitted byshanthan (not verified)on Mon, 03/12/2012 - 19:33

thanks for project,i try to learn learn something..
Submitted byjhong (not verified)on Wed, 08/15/2012 - 09:45

sir question about the database: i cant import the database of the voting system its says and error of : Error SQL query: -- -- Database: `voting` -- -- -------------------------------------------------------- -- -- Table structure for table `admin` -- CREATE TABLE IF NOT EXISTS `admin` ( `leve` int( 25 ) NOT NULL AUTO_INCREMENT , `password` varchar( 25 ) NOT NULL , `username` varchar( 25 ) NOT NULL , PRIMARY KEY ( `leve` ) ) ENGINE = InnoDB DEFAULT CHARSET = latin1 AUTO_INCREMENT =2; MySQL said: Documentation #1046 - No database selected

|Hi mr/ms Quis i Find ur ansewe Copy this code to voting.sql and place the previous code Thanks Regard to Abdale Mohamed -- phpMyAdmin SQL Dump -- version 2.11.6 -- http://www.phpmyadmin.net -- -- Host: localhost -- Generation Time: Jun 30, 2010 at 12:51 PM -- Server version: 5.0.51 -- PHP Version: 5.2.6 SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO"; /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; /*!40101 SET NAMES utf8 */; -- -- Database: `voting` -- CREATE DATABASE `voting` DEFAULT CHARACTER SET latin1 COLLATE latin1_swedish_ci; USE `voting`; -- -------------------------------------------------------- -- -- Table structure for table `admin` -- CREATE TABLE `admin` ( `leve` int(25) NOT NULL auto_increment, `password` varchar(25) NOT NULL, `username` varchar(25) NOT NULL, PRIMARY KEY (`leve`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=2 ; -- -- Dumping data for table `admin` -- INSERT INTO `admin` (`leve`, `password`, `username`) VALUES (1, 'admin', 'admin'); -- -------------------------------------------------------- -- -- Table structure for table `candidate` -- CREATE TABLE `candidate` ( `id` int(11) NOT NULL, `position` varchar(50) NOT NULL, `name` varchar(50) NOT NULL, `platform` varchar(255) NOT NULL, `picture` varchar(255) default NULL, `votecount` int(11) NOT NULL default '0', `sy` varchar(15) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `candidate` -- INSERT INTO `candidate` (`id`, `position`, `name`, `platform`, `picture`, `votecount`, `sy`) VALUES (1, 'President', 'RJ S. ANDRES', 'kdfjkdj', NULL, 0, '2010-2011'), (2, 'President', 'JR S. ANDRES', 'dsfgfdsghgfh', NULL, 0, '2010-2011'), (3, 'Secretary', 'Ehla', 'fgdh', NULL, 0, ''), (4, 'Secretary', 'dfhdgfhgf', 'fgjhfjf', NULL, 0, ''), (5, 'Secretary', 'dfjkdskfksdjk', 'kjkjkj', NULL, 0, 'j'), (5, 'Secretary', 'dfjkdskfksdjk', 'kjkjkj', NULL, 0, 'j'); -- -------------------------------------------------------- -- -- Table structure for table `position` -- CREATE TABLE `position` ( `position` varchar(50) NOT NULL, `IDNo` int(11) NOT NULL auto_increment, `Limit` int(11) NOT NULL, PRIMARY KEY (`IDNo`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=7 ; -- -- Dumping data for table `position` -- INSERT INTO `position` (`position`, `IDNo`, `Limit`) VALUES ('President', 1, 1), ('Vice President', 2, 1), ('Secretary', 3, 1), ('Bussines Manager', 4, 2), ('Sport Coordinator', 5, 2); -- -------------------------------------------------------- -- -- Table structure for table `students` -- CREATE TABLE `students` ( `studid` varchar(15) NOT NULL, `name` varchar(255) NOT NULL, `course` varchar(100) NOT NULL, `year` varchar(10) NOT NULL, `sec` varchar(5) NOT NULL, `password` varchar(15) NOT NULL, `gov` varchar(10) NOT NULL, `vgov` varchar(10) NOT NULL, `congres` varchar(10) NOT NULL, `board` varchar(10) NOT NULL, `councilor` varchar(10) NOT NULL, `Mayor` varchar(10) NOT NULL, `Vice` varchar(10) NOT NULL, `leve` varchar(10) NOT NULL default '2', `sy` varchar(15) NOT NULL, PRIMARY KEY (`studid`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `students` -- INSERT INTO `students` (`studid`, `name`, `course`, `year`, `sec`, `password`, `gov`, `vgov`, `congres`, `board`, `councilor`, `Mayor`, `Vice`, `leve`, `sy`) VALUES ('1211', 'Joan Salvador', 'BSE', '3rd', 'C', 'user', '', '', '', '', '', '', '', '2', '2008-2009'), ('1222', 'nemie', 'BSE', '4th', 'B', 'user', '', '', '', '', '', '', '', '2', '2008-2009'), ('1233', 'richard', 'BSF', '4th', 'A', 'user', '', '', '', '', '', '', '', '2', '2008-2009'), ('1234', 'majorie', 'BSINFOTECT', '1st', 'A', 'user', '', '', '', '', '', '', '', '2', '2008-2009'), ('1244', 'Resty Tamargo', 'BSPA', '2nd', 'D', 'user', '', '', '', '', '', '', '', '2', '2008-2009'), ('1245', 'glai', 'BS INFO.TECH.', '4th', 'B', 'user', '', '', '', '', '', '', '', '2', '2008-2009'), ('1255', 'Paul Acosta', 'BSBA', '1st', 'B', 'user', '', '', '', '', '', '', '', '2', '2008-2009'), ('1266', 'Ricky', 'BSCrim', '2nd', 'C', 'user', '', '', '', '', '', '', '', '2', '2008-2009'), ('1277', 'Rona', 'BSHim', '3rd', 'C', 'user', '', '', '', '', '', '', '', '2', '2008-2009'); -- -------------------------------------------------------- -- -- Table structure for table `votecount` -- CREATE TABLE `votecount` ( `StudID` varchar(15) NOT NULL, `Position` varchar(50) NOT NULL, `Result` int(11) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `votecount` -- INSERT INTO `votecount` (`StudID`, `Position`, `Result`) VALUES ('1211', 'President', 1), ('1211', 'Secretary', 1);
Submitted byAnonymous (not verified)on Thu, 12/19/2013 - 14:16

to vote, i can't log-in coz i don't know what is the roll no., here can you please help me so that i can use your wonderful and helpful system, i'm looking forward for your response, thank you in advance and more power! :)
Submitted bysyed (not verified)on Thu, 06/07/2018 - 14:29

sir what is the password for admin login

Add new comment