Home >Backend Development >PHP Tutorial >条码扫描怎么与网站对接

条码扫描怎么与网站对接

WBOY
WBOYOriginal
2016-06-23 13:50:151031browse

功能要求:扫描条码后,自动更新对应的MYSQL数据
网站是PHP+MYSQL

有没有现成的扫描系统


回复讨论(解决方案)

扫描后,把得到的数据例如12345,传递到某个php页面,php页面接收后写入mysql数据库。

例如扫描得到的数据是12345
接受数据的php是http://www.example.com/index.php
那么接受数据后,访问http://www.example.com/index.php?data=12345 把数据传递过去即可。

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn