Incentive voting

Here we will show you how to track which ip's that really did vote and voted which resultet in a +1 votes in for your account.

A lot of things can go wrong when you vote, so all votes might not count, i have listed below the most common things that result in a failed vote even when you enter the captcha and vote correctly:

- Make sure that cookies and javascript is enabled in your browser!


If you are using "&pingUsername=" in your voting url you can fetch that field in your xml reports as well.


Below is an example code in PHP how to retrieve and print out the latest ip's that have voted since last time you checked. Once an ip has been fetched through report1.php it will not show up again unless the user has successfully voted again. You will be required to have some programming knowlage. Replace "YOUSITEIDNUMBER" with your gtop100 account site-id number and "YOURPASSWORD" with your gtop100 account password.

If you change the url from report1 to report2 the script will collect all successfully voted ip's the last 30 days.

<?php
    $xml 
simplexml_load_file("http://www.gtop100.com/home/report1?siteid=YOUSITEIDNUMBER&pass=YOURPASSWORD");
    if (
$xml->errorcode == 0)
    {
        
$cnt count($xml->entries->entry);
        for (
$i 0$i $cnt$i++)
        {
            print(
$xml->entries->entry[$i]->ip);
            print(
" - ");
            print(
$xml->entries->entry[$i]->time);
            print(
" - ");
            print(
$xml->entries->entry[$i]->pingusername);
            print(
"<br>");
        }
    }
    else
    {
        print(
$xml->errormessage);
    }
    print(
"<br>");
?>

If you have any questions Contact Gtop100.