Re: question about using a parallel port

From: Date: Wed, 06 Nov 2002 21:43:35 +0000
Subject: Re: question about using a parallel port
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-10515@lists.php.net to get a copy of this message
On Tue Nov 05, 2002 at 12:4207PM -0500, Juan Camilo Rincon wrote: > Has anybody know how can i use a parallel port and write something there by > using a php script. $pointer = fopen("/dev/ttyS0","w"); fwrite ($pointer, "Hello World"); fclose($pointer); opens a connection to the Com-port and writes "Hello World" there. The example should work similar for parallel ports. Please post your future questions to php-general@lists.php.net and not to pear-dev@lists.php.net. Thanks. -- - Martin Martin Jansen http://martinjansen.com/

« previous php.pear.dev (#10515) next »