Login   Register  
PHP Classes
elePHPant
Icontem

File: vote.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of zandor  >  dvote  >  vote.php  >  Download  
File: vote.php
Role: Example script
Content type: text/plain
Description: example code
Class: dvote
A poll voting system based on .ini files
Author: By
Last change: none
Date: 8 years ago
Size: 455 bytes
 

Contents

Class file image Download
<?php
$voteENTRYindex 
$_POST['votingRADIO'];

require_once( 
"dvote.php" );

$dvote = new dvote"vote.ini" ) ;
$dvote->setTotalVotesLabel"Total Votes" ) ;

if ( 
$dvote->checkVoter"cookiename""testtable" ) ) $dvote->vote$voteENTRYindex ) ;
?>
<html>
<head>
<title>Example Script - Voting Pool</title>
<LINK REL="StyleSheet" HREF="vote.css" TYPE="text/css">
</head>
<body>
<?php $dvote->generateStatistics(); ?>
</body>
</html>