cheesybiscuits Posted February 1, 2012 Share Posted February 1, 2012 I'm making a game in php and I'm wanting users to scan a QR code to get a URL, which takes them to a page on my website. I need the URL to have a parameter to identify the QR code and then be able to give the user a reward according to what QR code took them to the website. Anybody have any idea how I would go about this? Thanks. Quote Link to comment https://forums.phpfreaks.com/topic/256158-url-parameters-and-reward-system/ Share on other sites More sharing options...
spiderwell Posted February 1, 2012 Share Posted February 1, 2012 if you can put the url into the QR code why not add a querystring parameter to it as well? like ?codeid=somethingunique thus identifying the QRcode Quote Link to comment https://forums.phpfreaks.com/topic/256158-url-parameters-and-reward-system/#findComment-1313263 Share on other sites More sharing options...
cheesybiscuits Posted February 1, 2012 Author Share Posted February 1, 2012 Thanks I'll look that up. I wasn't sure how to go about doing it. Quote Link to comment https://forums.phpfreaks.com/topic/256158-url-parameters-and-reward-system/#findComment-1313267 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.