Jump to content
sohailahmd

want to change the qrcode details

Recommended Posts

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.

Share this post


Link to post
Share on other sites

Store the info that the user put in the original QR code.

User retrieves and edits the data, then generates new QR code.

  • Like 2

Share this post


Link to post
Share on other sites

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.

asdfasdfsrtwe.PNG

Share this post


Link to post
Share on other sites
Posted (edited)

As said: you need a QR code READER (in php?).

Edited by chhorn

Share this post


Link to post
Share on other sites

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)

Share this post


Link to post
Share on other sites

OHH, thanks chorn I will let you guys update after doing that decoding in PHP. Thanks for your responses.

Share this post


Link to post
Share on other sites

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. 

Share this post


Link to post
Share on other sites
Posted (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 by chhorn

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.