jasonc Posted April 15, 2008 Share Posted April 15, 2008 I have been trying to get the referral link, that is in my stats. I see in my stats that it shows how visitor come to my site, like google.com.blahblah yahoo.com/search...blahblah and so on. what is the server command i need to use so i can have these stored in a database, as i wish to run a competition but need to be sure that the visitors do not cheat and visit lots of times or use other methods to cheat the site. i can not have people signup as a members as it is not that sort of voting system. i hope someone can see what i am trying to do. please help. thanks in advance for your help. Quote Link to comment Share on other sites More sharing options...
unidox Posted April 15, 2008 Share Posted April 15, 2008 $_SERVER["HTTP_REFERER"] Quote Link to comment Share on other sites More sharing options...
jasonc Posted April 16, 2008 Author Share Posted April 16, 2008 what i am facing is the issue that visitors could place the link i.e. www.site.com/link.php?l=123 in a frame and have the box only 1x1 pixel and when their site is visited they are also hitting the page on my site and in fact making it look like i have many more unique hits to that page which will be cheating my voting system! do you know of a way to get around this with out using javascript as this could be turned off! i can not use cookies either as this could be tampered with. i have unfortunately had problems in the past doing this and need to find a better way to make it fair for everyone taking part. Quote Link to comment Share on other sites More sharing options...
Caesar Posted April 16, 2008 Share Posted April 16, 2008 If your "voting system" does not require users to have cookies enabled, register or login...it will be extremely difficult to make it accurate. IP's can be spoofed & people can use proxies. Quote Link to comment Share on other sites More sharing options...
jasonc Posted April 16, 2008 Author Share Posted April 16, 2008 Cookies are not an option as these could be deleted. I am already tracking the IP's, but... I have the problem with people who want to cheat. how the voting system works.... any visitor who visits the site is automatically voting on a page www.site.com?siteid=12345 so clicking on the social bookmarking link on our site wil advance the counter for that link. but someone who wants to advance their own links to the top could use the 'iframes' method. put the page link to their page in an iframe and place this on their own site hidden, 1x1 pixels, every visitor to his site will end up advancing the counter for his page on our site, making him top of the list every time.!! do you know of a way to get around this. also javascript is not an option as this can be turned off. thanks for your help so far Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.