mtWeb  Home > Download > Poll system in PHPSitemap  Search

Poll system in PHP

Posted by martin on 3 Mar 2002, last updated on 18 Jun 2002.

Polls system written in PHP 4.1 and using PEAR::DB as a backend.

Features

  • Suggest a poll
  • Easy integration - needs just a function call in the code
  • Tested with MySQL and PostgreSQL backends

Download

poll.tgz, downloaded 2111 times.
The complete code
poll_class.php, downloaded 3571 times.
The poll class, syntax colored
poll.sql, downloaded 1117 times.
Database schema
config.php, downloaded 10941 times.
Configuration for database connectivity
poll-1.0.tgz, downloaded 361 times.
Complete code for the first version of the poll system
poll.zip, downloaded 2216 times.
Complete code, zip archive
poll-a.tgz, downloaded 370 times.
Example code from the PHP Polls article
poll-a.zip, downloaded 1109 times.
Example code from the PHP Polls article

Changelog

18 Jun 2002

  • Rewrite of the poll system in PEAR::DB, almost 100%
  • Dropped the comments subsytem in favor of the site global one

16 Mar 2002

  • Moved most of the functions to a class

3 Mar 2002

  • First released

Comments

missing table
by guillem () on 13 Jan 2003 6:52pm GMT

the code mentions a table called "page" and it's not on sql file... could u paste it here? thxs in advance

:)

missing table
by guillem () on 13 Jan 2003 10:07pm GMT

i downloaded complete zip file and it refers to table called PAGE.. I couldn't find the sql for it, can you paste it somewhere?

thxs in advanced

Re: missing table
by Fredrik (fredrik@silverbridge.org) on 31 Jan 2003 11:05am GMT

I havn't tested it yet, but it appears to me as it refers to a column in the table page, which should excist if you created the database properly.

How to get it run?
by michi () on 13 Feb 2003 3:53am GMT

You are writing "Easy integration - needs just a function call in the code". Which function? How to get it run?

Great Poll
by Richard (r_e_lainchbury@hotmail.com) on 19 Apr 2003 8:50pm GMT

Well it looks like a great poll. But it doesn't work.:)

Ah, where's the beef. Puzzle of where is the missi
by The line wiring guy next. (trucks_2001@yahoo.com) on 11 Jul 2003 3:18am GMT

Ah, where's the beef. Puzzle of where is the missing pieces ect.. ->

Can't get it to run, missing files
by Brian McHenry (bjmchenry2003@yahoo.com) on 27 May 2004 12:58pm GMT

Fatal error: Call to undefined function: begin_html() in c:\Program Files\Apache Group\Apache\htdocs\intranet\admin\poll\poll\add.php on line 16

no work
by () on 27 Jun 2004 7:15pm GMT

The poll doesn't work.

Poll is cool!
by Neo-Gamer (neo-gaming@neo-gaming.net) on 2 Jul 2004 8:36pm GMT

Is good thanks for the cool thing!

pity
by ting zhang () on 24 Aug 2004 2:04am GMT

it doesn't work.pity

Why bother
by Jeff (credible@blueyonder.co.uk) on 16 Dec 2004 7:02pm GMT

Why bother to create a tutorial and release it and it does not work!

At least remove or fix it.

http://www.san-pietroburgo.info
by Blogger (Blogger@hotmail.com) on 10 Jan 2005 5:20pm GMT

Un caloroso saluto da http://www.san-pietroburgo.info