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.
Barcode scanners act just like a keyboard in the sense that they will input whatever barcode text into whatever focused field you have. I would set up a form with a text box for input. Submit said form to a php page to process the input. Access the variable like so
$_GET['variable'] or $_POST['variable']
depending on your form post method