如何使HTML随机条形码生成将条形码编号添加到数据库? [英] How to make html random barcode generation that adds barcode number to database?

查看:175
本文介绍了如何使HTML随机条形码生成将条形码编号添加到数据库?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我进行了一次零售表演,我通过电子邮件赠送了2美元的优惠券,但我发现人们正在打印大约25张优惠券,并在排队发给他们以购买门票.我失去了很多钱.我想在条形码上放一个条形码,他们可以将其打印出来,并且只能使用一次.从思考开始,我认为您可以使用HTML代码制作随机条形码,并将其放入SQL,Filemaker或MS Access数据库中,然后在售票亭对其进行扫描,如果再看一次,然后拒绝它.

谢谢,

戴维斯·拉杜索(Davis Ladouceur)
Davis@davisladouceur.com

I run a retail show and I give away $2 off coupons by email, but I am finding that people are printing about 25 of them and handing them out in the line to buy your tickets. I am loosing a lot of money. I would like to put a barcode on the email that they can print off and only use ONCE. From thinking about I thought that you could have a HTML code that made a random barcode and make it put a entry into a SQL, Filemaker or MS Access database and at the ticket booth have them scan it and if its been looked at more then once then reject it.

Thanks,

Davis Ladouceur
Davis@davisladouceur.com

推荐答案

通过电子邮件发送2张优惠券,但我发现人们正在打印大约25张优惠券,并将它们分发出去以购买您的票.我失去了很多钱.我想在条形码上放一个条形码,他们可以将其打印出来,并且只能使用一次.从思考开始,我认为您可以使用HTML代码制作随机条形码,并将其放入SQL,Filemaker或MS Access数据库中,然后在售票亭对其进行扫描,如果再看一次,然后拒绝它.

谢谢,

戴维斯·拉杜索(Davis Ladouceur)
Davis@davisladouceur.com
2 off coupons by email, but I am finding that people are printing about 25 of them and handing them out in the line to buy your tickets. I am loosing a lot of money. I would like to put a barcode on the email that they can print off and only use ONCE. From thinking about I thought that you could have a HTML code that made a random barcode and make it put a entry into a SQL, Filemaker or MS Access database and at the ticket booth have them scan it and if its been looked at more then once then reject it.

Thanks,

Davis Ladouceur
Davis@davisladouceur.com


您需要做的就是生成一个唯一的数字(无论它是随机的还是无关的),并以条形码的形式打印在优惠券上.然后,在扫描优惠券时(大概由零售商),它将以某种方式保留该标识号的记录,并拒绝具有相同编号的任何其他优惠券.随机数或序号的生成是相当琐碎的编码,并且条形码字体可以生成条形码(Google会找到它们).主要问题是如何将您的编号系统与扫描它们并分发钱的系统绑定在一起.
All you need is to generate a unique number (whether it''s random or not is irrelevant), which is printed as a barcode on your coupons. Then when the coupon is scanned (presumably by the retailer) it will somehow keep a record of that identifying number and reject any other coupons with the same number. The generation of random or sequential numbers is a fairly trivial piece of coding and barcodes can be generated by barcode fonts (Google will find them). The main issue is how to tie your numbering system in with the system that scans them and hands out the money.


这篇关于如何使HTML随机条形码生成将条形码编号添加到数据库?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆