Read from Serial Port

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
Cerberius
Forum Newbie
Posts: 3
Joined: Fri Mar 02, 2007 2:06 pm

Read from Serial Port

Post by Cerberius »

Hi, i need to read from a serial port in my php application, how can i do this? the OS is Debian.

Best Regards.
Juan Leung
Xoligy
Forum Commoner
Posts: 53
Joined: Sun Mar 04, 2007 5:35 am

Post by Xoligy »

Are you sure PHP is the right language for the job?

But anyway, a quick search brings up a few results mentioning serproxy, including this and this.

I hope they help.
User avatar
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098
Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia

Post by Chris Corbyn »

Just use fopen() and fread() and fwrite() to it.

http://www.php.net/fopen
Post Reply