USB connections can be used just as another COM-port:
(haven't tested this, but it should work)
<?php
`mode com1: BAUD=9600 PARITY=N data=8 stop=1 xon=off`;
$fp = fopen ("COM1:", "w+");
$command = chr(27)+chr(64); //DEVICE DEPENDANT
fputs ($fp, $command);
fclose ($fp);
?>
/anders
"Andy Jacobs" <oc*@redcatmedia.net> skrev i melding
news:BDBAFB2B.2DA0%oc*@redcatmedia.net...
Not really sure if this is the right place to start for this. I've just
got this burning desire to mess around with some home automation. Is there
any way with PHP that you can write out to a USB port, for example, to turn a
device on of off?
Does anyone know where there's any decent information about this?
Andy