Page 1 of 1

How to read smart card in php?

Posted: Thu Nov 15, 2007 3:14 am
by crylla81
Hello!!!
My site have an authentication area, where the user must authenticate using their smart card.
So, to do this I must read user smart card and in some way authenticate him to access in a specific area of my web site.
How can I do this???? ...Have You some code for me?
....If I don't do this using PHP, what I could use? JavaScript? Ajax?

Thanks.

Posted: Thu Nov 15, 2007 10:15 am
by pickle
I'd imagine a smart card reader works similarly to a bar code scanner - at least as far as interfacing with a computer is involved. The bar code scanners I've dealt with mimic a keyboard, so when a barcode is scanned, the decimal equivalent of the barcode is entered on the keyboard port. At that point it's essentially user input & you can do with it whatever you want.