html and serial ports

Gitch, Sat Apr 22 2006, 11:51AM

Hi Peoples

Anybody know of if and how to communicate to a serial device connected through an linux apache web-server??

Cheers
Gitch
Re: html and serial ports
Bjørn, Sat Apr 22 2006, 12:07PM

Use PHP to open the serial device and send whatever you want.
Re: html and serial ports
Carbon_Rod, Sat Apr 22 2006, 12:08PM

It has been done.
Try google -> PHP Apache mod -> sourceforge.org for linux PHP to serial comm packs.

Edit: Too slow -- delete me
Re: html and serial ports
Gitch, Sat Apr 22 2006, 12:15PM

Is there a PHP function to do this?? If so, what is it?? I've tried googling with limited success, except for Java based solution which I dislike (or need to learn more about jave ;)
Re: html and serial ports
Bjørn, Sat Apr 22 2006, 12:18PM

This thread has some pointers:
http://www.phparch.com/discuss/index.php/m/2980/0

It is often hard to find documentation that is up to date with the language.