is it possible to write and read data on a COM or LPT port?
is there any function or class in PHP?
anyone has already done something similar?
Talking in and out of the serial port is not too difficult but is OS dependent,
so what are you wanting to run on? Most of the time you are just copying files
in and out, although one can use the control signals as simple I/O if you only
need a couple of controls.
Parallel port is a minefield on Windows as access is specifically blocked in XP
onwards. You need a modified device driver to bypass the blocks windows puts in.
I've not tried that with PHP as I'm normally accessing the parallel port direct
from other windows programs.
Linux is lot easier, and most of the examples you will find via google are
geared towards that. It works like DOS used to :)
Lester Caine - G8HFL
Contact - http://lsces.co.uk/wiki/?page=contact
L.S.Caine Electronic Services - http://lsces.co.uk
EnquirySolve - http://enquirysolve.com/
Model Engineers Digital Workshop - http://medw.co.uk
Rainbow Digital Media - http://rainbowdigitalmedia.co.uk
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php