Page 1 of 1

barcode reader

Posted: Fri Oct 10, 2003 2:12 pm
by phpcoder
Hello
can anybody help me how 2 get vales from barcoder reader on the webpage .
i have online stock maintinanace system so i have html form and i have barcode reader attached 2 my system i want that when bar code reader read bars from product i want those vales 2 get on my html form .
plz help me

Posted: Fri Oct 10, 2003 9:02 pm
by Gen-ik
PHP is server-side only... you can't use it like you can use JavaScript on a webpage (JavaScript is client-side).

By the sounds of it you are doing to need to sort of specialised 'scanner' software.

Posted: Sat Oct 11, 2003 6:59 am
by AnsonM
seems strange.... u need some sort of retail software to read the barcode...

Posted: Mon Oct 13, 2003 12:57 pm
by AVATAr
i thought barcode readers where plugged in the keyboard port... so they read in the standar input..

Posted: Mon Oct 13, 2003 6:20 pm
by JAM
You are all right.

We have a custom made hardware (the reader) that reads the barcode, sends a signal to the attached handheld Palm-lookalike computer. That then sends a signal to the mainframe, fetches information in the database, and returns data (items in stock, price's, weight, ordered yada yada). For you, exchange my computer with your computer.

It's not impossible, but it would require somewhat class-A systems and alot of manhours to create. Advanced techniques as using COM or similiar could be used to produce something like this, but...