tags:

views:

81

answers:

3

Hi Guys i want to use access card reader with php .. I am doing this to moniter attendance on the college ...Is there any intermediate technology which can be used to take the readings from acces card reader to the database.... I am searching for a solution .. can anyone provide me

A: 

Likely, this cannot easily be integrated with PHP. Perhaps for a backend API interface via JSON or something, but the card reader interface will need to be something that can run and work with physical hardware.

Unless you mean, you already have the readings and want to put it in a database...PHP can parse it.

Xorlev
I DONT HAVE READING ...THE READING MUST BE RECEIVED FROM THE CARD READER ONLY .....I AM SEARCHING FOR THAT KIND OF INTERFACE
udaya
Then you will need to work with a language other than PHP.
Xorlev
K i will work on it and wil share the result once i got it tanks
udaya
A: 

If a software was provided along with the reader, you may want to refer to its documentation on how it outputs the data. Let's say, if it gives out a CSV, you may want to parse the CSV and store it in the database, which later can be processed by PHP.

Some reader software are capable of directly writing to the database. Again, it all depends on what brand and model of reader you have got.

Nirmal
Do you know any brand of reader that directly writes to the database
udaya
I assume you are from India and I don't know about brands there. In Malaysia there is a brand called __Soyal__ which has a range of access controllers with client server software. The software acts as an interface between the reader and the database.Stack Overflow might not be that helpful for this and you need to look at a different forum.
Nirmal
A: 

I've worked with a bar code scanner before, and I know the one we had acted like a keyboard and basically "typed" in what it read, and hit enter. Maybe your card reader can or does do something similar?

If that's the case, you could set up a very simple form with a text input and with JavaScript, auto-focus on the input. Then have the form submit to a PHP script that logs what it's given.

I have seen a card scanner used as a time-keeping device once. My company had it on a computer, with a page with a current status full-screen on the monitor. When someone swiped their card, it would fire off a Perl program and update the database. I think the page was set to refresh every so many seconds.

Hope something I've said sparks an idea for you.

Collin Klopfenstein