I'm remaking my search engines (basicly to learn php, the old one was in perl) Anyway, I was thinking about adding a voting thing to each result, like to vote for or against something that turned up for that result. How should I go about doing this? should have a new window open where you have to put in a code to stop spammers? or should it be click and it sends it, then I can stop spamming though a session?
You mean something like the oozm.com engine? I think you should look into using web 2.0/AJAX technology for that so that the user don't have to leave the page to vote. Look at oozm and that would give you an idea of how it is already done.