Jump to content
MakeWebGames

Rewards for voting


Jake
 Share

Recommended Posts

Re: Rewards for voting

When the person clicks on the link(from your site) to vote, create a page that it sends them to that inserts the items/gives them the rewards and then redirects them to the voting site. It won't make sure they vote. But it will give the rewards. And if they truly want to help the game and have more players to go against, they will take the 2 seconds to click "vote".

Link to comment
Share on other sites

Re: Rewards for voting

I know a lot of people dont have 2.0 but does anyone know why I might be getting this error?

Warning: Cannot modify header information - headers already sent by (output started at /home/samuraio/public_html/global_func.php:1985) in /home/samuraio/public_html/votetwg.php on line 36

Voting page has this..

header('Location:http://www.topwebgames.com/in.asp?id=3341');
Link to comment
Share on other sites

Re: Rewards for voting

So i need a redirecting page...on which the reward is given, ok i'll work on this, thanks a lot.

On my voting page i have a list of different sites they can vote on.

And the site name is the link like this

print "[url='http://apexwebgaming.com/in/1499']Vote at Apex Web Gaming[/url]
";

 

So instead of using a direct page like that, should i have that link going to something like : the-liberation.com/voteapex.php ... And then on that page, do the necessary MySQL updates, and then have something like this:

header('Location:http://apexwebgaming.com/in/1499');
Link to comment
Share on other sites

Re: Rewards for voting

 

you get it because you used the header() tag after outputting html

That's what I thought but there is no html anywhere in the script. There isn't even a Print statement before the header tag!

Sigh. I'll keep looking

Link to comment
Share on other sites

  • 2 months later...

Re: Rewards for voting

I remember when I did these I left a colon out or put a space in the following line.....

-so here it is in case you have made the same error as I made

things like this are sometimes tooo obvious to spot when frustrated.(for me)

it gave me the error you are receiving:

 

header("Location:http://www.some_volting_site.com/in.asp?id=####");
exit;
}
?>
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.

 Share

×
×
  • Create New...