PDA

View Full Version : usb scanner



gishaust
September 19th, 2011, 12:18 AM
hi Ubuntu lovers,

I need to get some advice on a project I have to create for work (I am primary a web developer in php). I have a bar card reader that works great(it mimics usb numpad). If I highlight a text-box on a web form it scans the number in from card.

But I have to have to get the bar code reader check a database to authenticate automatically. I have talked the business am contracted to use Ubuntu. The only thing I need is this piece of the puzzle to be fixed.

This is my plan. T
The card reads the number.
Then a python script checks the database if user is true adds a session variable to the server authenticating the user.
The other idea is to use bash with a php script doing some thing similar.
My issue is peripherals are not a strong point I am not sure that my idea will work and I don't know how to capture the numbers from the card reader

I would really like to use Ubuntu for this project but I need some development direction can any one help me.