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

前端 未结 6 1785
春和景丽
春和景丽 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:26

    You cannot read the barcode using PHP, because it's a serverside language, but the input would be client-side.

    What you could do, is write a little program which gets the barcode and puts it into your browser textbox or sends it via GET / POST to your php script.

提交回复
热议问题