|
-
Mar 22nd, 2010, 10:09 PM
#1
Thread Starter
Fanatic Member
Reading from Access Card Systems
Is it possible to read data from Access Card Systems with php?
-
Mar 22nd, 2010, 10:53 PM
#2
Re: Reading from Access Card Systems
that depends entirely on what software your "Access Card System" uses, as that's an incredibly generic term. please be more specific.
-
Mar 22nd, 2010, 11:53 PM
#3
Thread Starter
Fanatic Member
Re: Reading from Access Card Systems
Thankyou,
I am making a eschool management. I want the students to login using access cards, so when they swipe the cards it must automatically add attendance to the database and to track the absence and presence of the students
-
Mar 23rd, 2010, 12:07 AM
#4
Re: Reading from Access Card Systems
this would depend entirely on whatever software the card swipe used :/ it would be best to contact whatever company manufactured/supplied it.
-
Mar 23rd, 2010, 12:11 AM
#5
Thread Starter
Fanatic Member
Re: Reading from Access Card Systems
Ya thankyou very much. So is it possible to do that?
-
Mar 23rd, 2010, 12:26 AM
#6
Re: Reading from Access Card Systems
.. please re-read my post, because it seems you still don't understand. I have absolutely no clue if it would be possible to do what you're asking for; this is not really a question that has anything to do with PHP and has more to do with the flexibility of whatever card swipe system you might be using. thus, you really need to ask the manufacturer/supplier of the card swipes if something like that would be possible.
-
Mar 23rd, 2010, 12:32 AM
#7
Re: Reading from Access Card Systems
I don't think this is really a task for PHP. PHP might be used as a central back end of the system but the card reader would have to be attached to the front end and PHP would not be a suitable tool for that.
Essentially, a card as described is just an identification value. Swiping or reading the card in whatever manner inputs the value into the client machine. This can then be sent to a server which records attendance details (you can use PHP for this).
A barcode reader is very similar in that any given barcode simply represents a string. All the reader does is scan and interpret the barcode, and send to the PC as input. In essence it functions as a keyboard. A card reader might be more sophisticated or it might be the same, I do not know.
-
Mar 23rd, 2010, 02:05 AM
#8
Re: Reading from Access Card Systems
Card readers take the magnetic strip and turn it into what ever was programmed on the card, a specific number within the system (in your case, this institution). I have never used card readers directly connected to computers, but thought its own network, connected to a master controller that logs the data.
Going off of what penagate said, if the card reader you are using is programmed like barcode readers to where it will read the code, send the number to the input, and press enter, then you are in business. Other wise you will need to find another way around this.
But this is not a PHP issue.
-
Mar 23rd, 2010, 04:38 AM
#9
Re: Reading from Access Card Systems
There is no reason why PHP / HTML could not do this, so long as your input device spits out a number (like the others have said).
If you had a web page on a screen you could have the input box set to focus, use jQuery to check when the text box changes, when it changes fire the id to your PHP back end that checks the status of the swipe card id.
The returning value (true / false) can then be used to paint a massive "Access granted / denied", hell, feel free to throw in some sound effect for good measure 
Workflow:
1) Swipe card / scan barcode
2) Text box is automatically populated with ID
3) jQuery sends AJAX request to your PHP back end with the ID
4) PHP checks this against the database
5) Returns success / failure message
6) jQuery displays a success / failure screen
7) Screen returns back to default after a few seconds
That said it's actually pretty easy :-)
-
Mar 23rd, 2010, 04:37 PM
#10
Re: Reading from Access Card Systems
@Ilmv, he isn't looking for access control, only to use ID cards and a reader to track attendance in a class setting.
-
Mar 24th, 2010, 03:37 AM
#11
Re: Reading from Access Card Systems
Yes I know Dylan!
When displaying the success / failure message, just have "clocked in" or "clocked out", the message cold be whatever you want, it doesn't really matter, or detract from the fact that my solution is tah r0x0rs
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|