yes. currently i'm using PHP for communicating with USB-based GPS device. it's just the same as serial port comm programming, where you access the serial port then let the driver (serial-to-USB) do its thing. you may use the standard fread / fwrite functions to access the USB ports but it's kinda slow if your planning to read data in real-time. use the DIO extension instead (php_dio.dll), if your planning to do such. you also might be needing Windows' MODE.COM when initialiazing the port otherwise the data would be unintelligible on your end. you can download and view my PHP source for accessing a similar USB device for comparison. it's at http://geepeeyes.sourceforge.net/ (GPS NMEA- plugin for GEarth Free Edition). hth, Ariz Jacinto On 5/8/06, Dale D. Attree <Dale.Attree@xxxxxxxxxxxx> wrote:
Is USB communication via PHP on Windows possible?