Forum Moderators: coopster & phranque

Message Too Old, No Replies

voting and comments based on id numbers

perl/cgi

         

emma matthews

12:49 pm on May 29, 2003 (gmt 0)

10+ Year Member



I have a website listing various shops. Each shop has an unique id number. I would like to use a simple voting script that allows me to take votes(1-10) for any shop with the call cgi-bin/vote.cgi?id=1,cgi-bin/vote.cgi?id=2 etc. I would also like the ability to display the average vote using shtml e.g. cgi-bin/displayvote.cgi?id=1. I am looking for a very simple script which allows me to do this, WHEREVER I insert the voting and display code for each and every shop. I would also like to do the same for comments, e.g. take comments based on id number, and display comments for each shop using shtml.

I have seen scripts like this on 'rate a photo' websites, but they are in php. I am looking for a perl solution.

The problem with many of the scripts I have found in the usual places are they are too complex for what I need, what I am looking for is very simple. Just take votes and comments based on an id number, store them against id numbers(or in the case of votes just keep an average), and display appropriate vote/comments when id number is called.

Can anyone help?

jatar_k

9:41 pm on May 29, 2003 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



any possibilities of stripping down one of the ones you've found? or maybe writing it yourself? If you only want a very simple one as you said it may not be too difficult.

balam

6:13 pm on May 30, 2003 (gmt 0)

10+ Year Member



Maybe some of polling software at cgi-world.com will help? While I don't actively use it, they have some polling scripts in perl...

balam

[edited by: jatar_k at 6:49 pm (utc) on May 30, 2003]
[edit reason] delinked [/edit]