how do I compare a random number or is it possible?
the scenario is I have a function using $_GET method and it is visible on URL. so any user can store this link to use it later. this is a PHP game so any one can cheat the game very easily. so what will be the best work around to prevent the same? I was thinking about a random number to use each time when user calls the link and compare it so user cant use the same link to access the game later.