Is it possible to read/access the bar-code scanner values using PHP & MySQL?

前端 未结 6 1786
春和景丽
春和景丽 2020-12-15 01:57

I am trying to enable a PHP website to recognize barcode input.

I will load a web page in a browser, the focus (cursor) is set to recieve input into the text box.

6条回答
  •  一整个雨季
    2020-12-15 02:25

    Most barcode scanners emulate a keyboard.

    So as long as the input field has focus when the button is pressed on the scanner, a string with numbers will be written to the field and you can save those.

提交回复
热议问题