Jump to content

[php] secret link


Guest boshok

Recommended Posts

I'm building a role playing game, it all works but one.I'm creating a secret link system, it means that some gets a turn when he goes to a link for example:http://mo.aasf.nl/secretlink.php?link_id=35 en than you press klik.But now the problem, a bot can easy press the button 'klik', I want a person to press klik not a bot.Does anyone know how to solve this problem? Maybe with images and letters?thx guys.

Link to comment
Share on other sites

  • 3 years later...

Easiest way is to generated a random number.Display the number to the user.Have the user type the number in e.g. a form.Validate if the user has typed in the correct number.If so take him to the page you want him to see.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...