Hello,
well it depends on how the user will input the data.
eg. will be a MS programm needed to provide the data or is the data put in via a
Browser (which means you do not install anything)
If this is decided then you need the application which writes to the microchip.
I don't think that php can write directly to the chip.
You could create the commands for an external tool, and launch this command via
a system call.
but you need an external tool which can communicate direclty with the chip.
regards,
johannes ke�ler
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.13 (GNU/Linux)
iEYEARECAAYFAksrYaEACgkQE++2Zdc7EtdrOwCfTcJQNG2Bgv8uqzwhz5QRqmNJ
eGkAn0RbBkgu5N9Q5KzFYDVgHCQj70DP
=QJcw
-----END PGP SIGNATURE-----
Hi Mirfan,
If the 'microchip card' is client side (i.e. not directly connected to
the server your PHP code is running on) then PHP will not be able to
touch it. In this situation you would need 'client side' code i.e. code
that runs on the remote users machines, not the server.
PHP is generally used server side only, for client side scripting you
would need another language such as Java, Javascript or Flash/AS3. For
interfacing with a clients hardware you can probably only use Java, and
even then there's no guarantee the card readers API has Java bindings so
you may need to use C or C++ but Java is where I would start.
Find out everything you can about the card readers and it API then go
join a newsgroup dedicated to Java, C or C++ whichever seems most
appropriate. Just to be clear, PHP will NOT help you talk to card
readers unless your client machines are running PHP, which they will not be!
Good luck,
Roger.
As others have said - this is WAY off topic here.
If the card writer is client-side then go read about how to play
outside the sandbox (its not impossible, but its a quite a complex
process - this ensures that malicious websites are limited in the
damage they can wreakk on your PC).
If the card writer is connected server-side, then it should be very
simple as long as you have a CLI tool for writing the cards - just
shell-out to run the program.
Of course, it may be a lot simpler to pre-program the cards, then
provide a page to allow the operator to link a programmed card to an
employee.
C.
The card making machine, typically come with an API. That's where you
should start.