PHP Classes

PHP_SERIAL can't read serial port via striped card

Recommend this page to a friend!

      PHP Serial  >  All threads  >  PHP_SERIAL can't read serial port...  >  (Un) Subscribe thread alerts  
Subject:PHP_SERIAL can't read serial port...
Summary:PHP_SERIAL can't read serial port via striped card
Messages:1
Author:adit
Date:2010-04-16 10:22:42
 

  1. PHP_SERIAL can't read serial port...   Reply   Report abuse  
Picture of adit 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 ?