Add Your Site Set New Password

Login

Apex Web Gaming Login









Add Your Site

Add Your Site


Forgot your password?

Set New Password
Our goal is to make it easy and secure for your users to vote for and support your game and receive incentives such as in-game bonuses. The system we have in place is quite simple and takes little programming knowledge to impliment.

The Basics

What happens is a user on your site is given a special voting link with their username or userid added to it. When this user votes we then take this username/userid and send it back to your server as a POST to your specified script to process and credit the user for voting. It is really that simple and you just need to enter URL to the script in your user control panel and you are ready to go.

Example Voting Link

<a href="http://apexwebgaming.com/?i_id=YOUR_VOTER_USERNAME/ID"><img src="http://apexwebgaming.com/button.php?u=YOUR_TOPLIST_USERNAME&buttontype=static" alt="Apex Web Gaming" /></a>

Example Script

<?php
//////// Example Post-Back Script for Apex Web Gaming

// include database connection here

// this is the variable we pass back to you that
// contains the value you passed to us with the vote link
$user = mysql_real_escape_string($_POST['i']);

// check if the user has voted
$check_voted = mysql_fetch_array(mysql_query("SELECT vote FROM users WHERE username = '$user'"));
if ($check_voted[0] == 0) { // if they haven't voted
    // credit the user for voting, like giving +100 money as in the example
    mysql_query("UPDATE users SET money = money + 100, vote = '1' WHERE username = '$user'");
}
?>