Re[2]: [PHP] Confused about handling bytes

2007-05-21 Thread Tom Rogers
Hi, Monday, May 21, 2007, 3:57:56 PM, you wrote: TR> Hi, TR> Monday, May 21, 2007, 10:50:27 AM, you wrote: JV>> While I'm sure this is a stupid question and the solution will be JV>> obvious to everyone here, this is confusing me. JV>> I'm trying to control a device over a serial port using a P

Re: [PHP] Confused about handling bytes

2007-05-20 Thread Tom Rogers
Hi, Monday, May 21, 2007, 10:50:27 AM, you wrote: JV> While I'm sure this is a stupid question and the solution will be JV> obvious to everyone here, this is confusing me. JV> I'm trying to control a device over a serial port using a PHP script, JV> and one of the things I need to do is read a

[PHP] Confused about handling bytes

2007-05-20 Thread Joe Veldhuis
While I'm sure this is a stupid question and the solution will be obvious to everyone here, this is confusing me. I'm trying to control a device over a serial port using a PHP script, and one of the things I need to do is read a 26-byte string from an EEPROM, using a command that returns two b