PHP script to Read COM1

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
rajsekar2u
Forum Commoner
Posts: 71
Joined: Thu Nov 20, 2008 4:23 am

PHP script to Read COM1

Post by rajsekar2u »

HI,

I need to read and write data's in COM1.

I tried using fputs() and fgets() function.

But when i try to read the data its not working.

Is there any class for this.
User avatar
Christopher
Site Administrator
Posts: 13596
Joined: Wed Aug 25, 2004 7:54 pm
Location: New York, NY, US

Re: PHP script to Read COM1

Post by Christopher »

There is an example in the manual provided by a user:

http://www.php.net/manual/en/function.fopen.php#20935
(#10850)
Post Reply