Page 1 of 1

PHP script to Read COM1

Posted: Thu Jan 07, 2010 7:11 am
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.

Re: PHP script to Read COM1

Posted: Thu Jan 07, 2010 1:11 pm
by Christopher
There is an example in the manual provided by a user:

http://www.php.net/manual/en/function.fopen.php#20935