I am displaying several polls using the same url. The session id changes which poll is viewed. Everything seems to work fine except when you vote it directs you to the page without the session id.
I would also like to know how to allow you to vote over and over by bypassing the ip check or the cookie. This is just to make the whole testing process easier. I have tried to delete the cookie and the field with the ip in the DB but nothing works...
26/02/2005 05:29:55
Subject:
Anonymous
I can help you with your question but what doc did you read to get the polls posted in your web pages?
26/02/2005 06:19:12
Subject:
Anonymous
DB, I use php/mysql. Thanks
26/02/2005 06:23:08
Subject:
Anonymous
I am assuming you are asking if I used the db or textfile version.
Duilen wrote:I am assuming you are asking if I used the db or textfile version.
he's asking a question, that's different.
there's already a few topics on this already on the first and second pages of this forum, something like form action or redirect in the search might help.
Visit my site @ www.ragnaru.com
Adv. Poll Install Guide NOW BACK ONLINE! (And also rather out of date I would of thought)
26/02/2005 18:53:25
Subject:
Anonymous
I have almost figured it out. I need to edit this line in class_poll.php to forward to the right page.
The only problem is I can't figure out how to transfer my session variable to class_poll.php. I have tried to change this line in booth.php but I can't seem to make it work.
I have tried...
and
I get URL file-access disabled by the server. So I logged into my cpanel to see if I could enable it but I only have the ability to enable allow_url_fopen. (already enabled)
Any ideas?
26/02/2005 19:51:23
Subject:
Anonymous
I figured it out...
If anyone is having the same problem you will need to edit 2 files. I'm not sure if this is the best way or not but it works.
booth.php Add the following line of code.
I added it here.
class_poll.php Add the following lines of code.
here...
Now you will need to edit this line of code to something similar.
Note: I took this code straight from my site. You will need to modify yours accordingly. If the site you are displaying polls on is...
http://site.com/index.php?menu=1 You would need to replace all the c's with menu's.