sohailahmd Posted July 22, 2019 Share Posted July 22, 2019 Hello guys I have created a form and after entering details in the form user will click the generate button after that will get the qrcode. The problem I am facing is that when a user wants to change the qrcode details then it should upload the qrcode and change but how to do it I have no Idea any help will be appreciated. The QRcode created using the PHP library. If you need some more information then you can reply m. Quote Link to comment Share on other sites More sharing options...
chhorn Posted July 22, 2019 Share Posted July 22, 2019 So you need a QR code reader. 1 Quote Link to comment Share on other sites More sharing options...
Barand Posted July 22, 2019 Share Posted July 22, 2019 Store the info that the user put in the original QR code. User retrieves and edits the data, then generates new QR code. 2 Quote Link to comment Share on other sites More sharing options...
sohailahmd Posted July 23, 2019 Author Share Posted July 23, 2019 https://ibb.co/9rbCCDn see this picture for more clarification. you can see that I will add a upload option to the user and when the user uploads the qrcode the details should appear in the form at left side. Quote Link to comment Share on other sites More sharing options...
chhorn Posted July 23, 2019 Share Posted July 23, 2019 (edited) As said: you need a QR code READER (in php?). Edited July 23, 2019 by chhorn Quote Link to comment Share on other sites More sharing options...
Barand Posted July 23, 2019 Share Posted July 23, 2019 Treat the QR code like you would treat an address label. You print the label from the data in your database. If the address changes you change it in the database and reprint the label. You do not attempt to scan the exisiting label with an OCR reader in order to alter the address (or perhaps you do) Quote Link to comment Share on other sites More sharing options...
sohailahmd Posted July 23, 2019 Author Share Posted July 23, 2019 ok great chorn how to do that will you help ? Quote Link to comment Share on other sites More sharing options...
chhorn Posted July 23, 2019 Share Posted July 23, 2019 Did you try anything yourself? Like https://duckduckgo.com/?q=php+qr+code+reader 1 Quote Link to comment Share on other sites More sharing options...
sohailahmd Posted July 23, 2019 Author Share Posted July 23, 2019 OHH, thanks chorn I will let you guys update after doing that decoding in PHP. Thanks for your responses. Quote Link to comment Share on other sites More sharing options...
taquitosensei Posted July 23, 2019 Share Posted July 23, 2019 You don't need to decode. Store the users info in your database. Pre-fill the form. Let them change the info. Then generate a new QRCode and update your database. Quote Link to comment Share on other sites More sharing options...
chhorn Posted July 23, 2019 Share Posted July 23, 2019 (edited) Storing personalized info could lead to a way more complex system as he's in need of authentication, authorization and other security related stuff and legal issues - i don't see that this infrastructure already exists anywhere. A plain encode/decode tool is much simpler, and it's just glueing some libraries together. Edited July 23, 2019 by chhorn Quote Link to comment 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.