Jump to content

PHP polling/vote autovoter?


drozan

Recommended Posts

Hey... i'm looking to create a program/macro that will vote for an entity in a poll over and over and as quickly as possible. (kind of like /b/'s time magazine top 100 poll)

This is an almost identical poll format to what im working with- if someone can show me the php method post URL for this site's sample poll.. that would be very helpful

http://leevigraham.com/cms-customisation/e...ngine/lg-polls/

but I am unable to get the right string of php code that will cast a vote for the selected entity.

The website allows you to vote as many times as you like from the same computer... so i'd like a program to do this very quickly and consistently for me.

If anyone is knowledgeable in this... please throw some tips my way.

the poll form is lg_poll_form

and the variable im looking to hit is lg_polls[answer_id] -> I'm not sure how to put that into my URL correctly. do i place the # in the brackets? or is it =#?

any help appreciated!

thanks!

Link to comment
Share on other sites

I think what you're looking for is something along these lines:

http://us3.php.net/manual/en/function.http-post-data.php

Unfortunately the poll you're looking at is using a form that is using POST not GET. So it won't be a modified URL in this instance. If you build a proper http_request object and set its associated POST values using the above link I think you'll be set. Also, don't forget to pay attention to the hidden fields in that form on the page you shared, they'll more than likely need to be POST'd as well.

Lemme know if that helps you out at all.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...