adit - 2010-04-16 10:22:42
Hi, i'd problem for reading value from card reader trough serial port /dev/ttys0.
i've tried to read the value by magnetic card with using PHP_serial.class.php on linux (Ubuntu 9.10 64 bit) until right now i'm still confuse why the value of magnetic card doesn't appear, but when i'm trying to using cutecom (replacement hyperterminal in windows) it's work... the card reader display "\0x01\0x02286805E7B517" when the card near by the reader. i'd also change CHMOD 777 for /dev/ttys0 but when i run the example.php it's display blank. is the function readPort() doesn't work ?
How to catch that number(value).. please anyone can help me ?