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. 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 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. 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
Archived
This topic is now archived and is closed to further replies.