duan32342 2016-08-16 18:10
浏览 31
已采纳

QR码/ PHP票务系统

I have a QR code that is printed out on a ticket in which once it is scanned it goes to this URL bungeedesign.com/ticketvalidatorv1/index.php the page shows if the ticket is valid or not by checking the date that I set matches today's date (current day).

If the set date does not match up with the current day then the page will display "not valid" so this means that the ticket is no longer valid as it doesn't match the current day. Is there any way to keep the same qr code on the ticket with the same URL and have a new date set and have it check if it matches today while the tickets that were used yesterday/previously still be in a invalid status.

The reason I ask this is due to not wasting tickets that have already been printed, as I would have to change the qr code and URL with a different page containg the new set date while the old tickets would simply still point to the old URL in which would forever display invalid which is want I want but just don't want the tickets to become obsolete once the day is over and there's leftovers.

Sorry if this is a little convoluted!

  • 写回答

1条回答

      报告相同问题?

      相关推荐 更多相似问题

      悬赏问题

      • ¥30 关于#网络安全#的问题:非对称加密验证
      • ¥20 关于线性代数里施密特正交化和QR分解的疑问
      • ¥15 matlab超类包含解析错误
      • ¥15 python拖拽文件问题
      • ¥15 执行import paddle代码出现错误如何解决?
      • ¥15 hisat2align exited with value 137
      • ¥15 寻找大学生合作开发软件(Delphi)
      • ¥30 AndroidBench&eMMC内存测试速度&Android
      • ¥15 W10 文件共享失败 怎么解决
      • ¥20 b站私信完整导出的方法