PHP Voting

Embed Size (px)

Citation preview

  • 8/4/2019 PHP Voting

    1/6

    Title: PHP Voting

    Title: PHP Voting

    Abstract of the project

    On-line Voting System is a web based system that facilitates the running of elections and surveys

    online. This system has been developed to simplify the process of organizing elections and make

    it convenient for voters to vote remotely from their home computers while taking into

    consideration security, anonymity and providing auditioning capabilities.

    Users are individuals who interact with the system. All user interaction is performed remotely

    through the user's web browser. Users are categorized into three classes: Administrator,

    Returning Officers and Voters.

    A running version of the system will have only one Administrator but it typically has multiple

    returning officers and voters. The administrator is responsible for managing user accounts, polls,

    system resources and logs and for the health and safekeeping of the system. Returning officers

    have the responsibility of managing a poll as assigned by the administrator, whereas voters only

    have the ability to submit ballots on polls in which they are admitted.

    Online Voting Project

    Technical Modification of the Voting System:

    The previous voting system included the following steps:

    -Registration of Voting

    -Issue of Voting Documents

    -Voting phase

    -Request of blinded Voter Signature

    - Issue of blinded Voting Register Signature

    -Delivery of the Vote

  • 8/4/2019 PHP Voting

    2/6

    -Confirmation of Ballot Box

    -Confirmation for Register of Voters

    - Confirmation of Register of Voters

    -Initiate counting

    -Receipt Votes for counting

    The project entails the physical and administrative separation of the voting register and the ballot

    box. The Validator element provides the electronic voter register and the Ballot Box which

    contains the electronic ballot box used in the system .There is a need for Separated storage of

    persistent dates is a problem in the server. The identity of the people is strictly separated in the

    communication time.

    In India all earlier elections be it state elections or centre elections a voter used to cast his/her

    vote to his/her favorite candidate by putting the stamp against his/her name and then folding the

    ballot paper as per a prescribed method before putting it in the Ballot box. This is a long, time-

    consuming process and very much prone to errors.

    This method wanted voters to be skilled voters to know how to put a stamp, and methodical

    folding of ballot paper. Millions of paper would be printed and heavy ballot boxes would be

    loaded and unloaded to and from ballot office to polling station. All this continued till election

    scene was completely changed by electronic voting machine. No more ballot paper, ballot boxes,stamping, etc. all this condensed into a simple box called ballot unit of the electronic voting

    machine.

    The marking system of voting was introduced in 1962 to make it possible for a substantial

    number of illiterate voters to indicate easily their preferences in choosing their representatives.

    Over the years, there was a pronounced increase in the volume of work: crores of ballot papers

    had to be printed and lakhs of ballot boxes had to be prepared, transported, and kept in storage;

    and a great amount of time was taken up by the conduct of elections. To overcome these

    difficulties, the Election Commission of India (ECI) thought of electronic gadgets. The

    Electronics Corporation of India Ltd. (ECIL), Hyderabad, and Bharat Electronics Ltd. (BEL),

    Bangalore, developed the electronic voting machine in 1981.

    INTRODUCTION

    Elections allow the populace to choose their representatives and express their preferences for

    how they will be governed. Naturally, the integrity of the election process is fundamental to the

  • 8/4/2019 PHP Voting

    3/6

    integrity of democracy itself. The election system must be sufficiently robust to withstand a

    variety of fraudulent behaviors and must be sufficiently transparent and comprehensible that

    voters and candidates can accept the results of an election. Unsurprisingly, history is littered with

    examples of elections being manipulated in order to influence their outcome.

    ELECTRONIC VOTING SYSTEMS. There have been several studies on using computer

    technologies to improve elections . These studies caution against the risks of moving too quickly

    to adopt electronic voting machines because of the software engineering challenges, insider

    threats, network vulnerabilities ,and the challenges of auditing Electronic voting (also known as

    e-voting) is a term encompassing several different types of voting, embracing both electronic

    means of casting a vote and electronic means of counting votes. Electronic voting technology

    can speed the counting of ballots and can provide improved accessibility for disabled voters.

    However, there has been controversy, especially in the United States, that electronic voting,

    especially DRE voting, can facilitate electoral fraud Traditionally, a voting machine has been

    defined by the mechanism the system uses to cast votes and further categorized by the locationwhere the system tabulates the votes.

    Voting machines have different usability, security, efficiency and accuracy. Certain systems may

    be more or less accessible to all voters, or not accessible to those voters with certain types of

    disabilities. They can also have an effect on the public's ability to oversee elections.

    Electronic voting systems may offer some advantages over traditional voting techniques. An

    electronic voting system can be involved in any one of a number of steps in distributing, voting,

    collecting, and counting ballots , and thus may or may not introduce advantages into any of these

    steps.

    Here, this system is made in C plateform , this program contains four parts , main Menu,

    candidates information, voters information , and the election report. In main menu there is code

    for main screen is defined, as well as the link between whole four parts are there.

    With the running of program a screen will be there which provide options for entering

    information about candidate , information about voter, editing information etc. with entering

    proper informations or inputs anyone can handle this system efficiently.

    Mobile voting systems have the potential to improve traditional voting procedures by providing

    added convenience and flexibility to the voter. Numerous electronic voting schemes have been

    proposed in the past, but most of them have failed to provide voter authentication in an efficient

    and transparent way. On the other hand, GSM (Global System for Mobile communications) is

    the most widely used mobile networking standard. There are more than one billion GSM users

    worldwide that represent a large user potential, not just for mobile telephony, but also for other

    mobile applications that exploit the mature GSM infrastructure. In this project, an electronic

  • 8/4/2019 PHP Voting

    4/6

    voting scheme using GSM mobile technology is presented. By integrating an electronic voting

    scheme with the GSM infrastructure, we are able to exploit existing GSM authentication

    mechanisms and provide enhanced voter authentication and mobility while maintaining voter

    privacy.

    INTRODUCTION

    In democratic societies, voting is an important tool to collect and reflect peoples opinions.

    Traditionally, voting is conducted in centralised or distributed places called voting booths.

    Voters go to voting booths and cast their votes under the supervision of authorised parties. The

    votes are then counted manually once the election has finished. With the rapid development of

    computer technology and cryptographic methods, electronic voting system has been employed

    that replace the inefficient and most importantly error-prone human component. To increase the

    efficiency and accuracy of voting procedures, computerised voting systems were developed to

    help collecting and counting the votes. These include Lever Voting Machines, Punched Cards forVoting, Optical Mark-Sense Scanners and Direct Recording Electronic (DRE) voting Systems.

    For a variety of reasons, voters may be unable to attend voting booths physically, but need to

    vote remotely, for example, from home or while travelling abroad. Hence, there is great demand

    for remote voting procedures that are easy, transparent, and, most importantly, secure. Today, the

    most common way for remote voting is postal voting, where voters cast their votes by post.

    However, it lacks proper authentication and involves a time-consuming procedure. Internet

    voting was introduced to provide more flexibility. Because of the inherited security

    vulnerabilities of the Internet and computerised systems in general, Internet voting incurred a

    wide range of criticism. In this project, we endeavour to improve mobility and address securityproblems of remote voting procedures and systems. We present an electronic voting scheme

    using GSM. With more than one billion users, the GSM authentication infrastructure is the most

    widely deployed authentication mechanism by far.

    We make use of this well-designed GSM authentication infrastructure to improve mobility and

    security of mobile voting procedures. In our proposed scheme, voters are authenticated by their

    GSM mobile operators, and the votes are sent using GSM wireless communication. Voters and

    their votes cannot be linked and votes remain secret until the final counting. In this section, we

    introduce our GSM mobile voting scheme. In this scheme, GSM is used for the voting system to

    introduce voter mobility and provide voter authentication.

    PHP, or PHP: Hypertext Preprocessor, is a widely used, general-purpose scripting language that

    was originally designed for web development, to produce dynamic web pages. PHP is the

    widely-used, free, and efficient alternative to competitors such as Microsoft's ASP. All types of

    open source PHP code and applications are available on Open Source Scripts.

  • 8/4/2019 PHP Voting

    5/6

    PHP: Hypertext Preprocessor is a widely used, general-purpose scripting language that was

    originally designed for web development to produce dynamic web pages. For this purpose, PHP

    code is embedded into the HTML source document and interpreted by a web server with a PHP

    processor module, which generates the web page document. As a general-purpose programming

    language, PHP code is processed by an interpreter application in command-line mode

    performing desired operating system operations and producing program output on its standard

    output channel. It may also function as a graphical application. PHP is available as a processor

    for most modern web servers and as standalone interpreter on most operating systems and

    computing platforms.

    The PHP Documentation Framework

    The PHP documentation is written in XML using the DocBook DTD. If you would like to

    contribute to the PHP documentation project, you need to at least know the very basics of XML

    and DocBook.

    The XML files are stored on a central server, and can be reached with a SVN client. There are

    many SVN clients you can use, although we recommend one command line tool or a proven

    WYSIWYG tool.

    You will need more programs and tools to manipulate the XML files and test their content for

    errors. The tools you need depend on the operating system you use. Linux or some sort of Unix

    is recommended, although many things in phpdoc work on Windows. You will find more

    information about the tools you need in the tools section.

    MySQL is a database.

    The data in MySQL is stored in database objects called tables.

    A table is a collection of related data entries and it consists of columns and rows.

    Databases are useful when storing data into server. A company may have a database with the

    following tables: "Employees", "Products", "Customers" and "Orders".

    Basic object-oriented programming functionality was added in PHP 3 and improved in PHP 4.

    Object handling was completely rewritten for PHP 5, expanding the feature set and enhancing

    performance. In previous versions of PHP, objects were handled like value types. The drawback

    of this method was that the whole object was copied when a variable was assigned or passed as a

    parameter to a method. In the new approach, objects are referenced by handle, and not by value.

    PHP 5 introduced private and protected member variables and methods, along with abstract

    classes and final classes as well as abstract methods and final methods. It also introduced a

  • 8/4/2019 PHP Voting

    6/6

    standard way of declaring constructors and destructors, similar to that of other object-oriented

    languages such as C++, and a standard exception handling model. Furthermore, PHP 5 added

    interfaces and allowed for multiple interfaces to be implemented. There are special interfaces

    that allow objects to interact with the runtime system. Objects implementing ArrayAccess can be

    used with array syntax and objects implementing Iterator or IteratorAggregate can be used with

    the foreach language construct. There is no virtual table feature in the engine, so static variables

    are bound with a name instead of a reference at compile time.