From: Richard Lynch [mailto:[EMAIL PROTECTED]
Sent: 3. march 2005 20:56
$fp = fopen(COM1, rwb);
You might try this:
$input = fopen(COM1, rb);
$output = fopen(COM1, wb);
Use $output to write, and $input to read.
On a windows one would have to close the connection every time then since that
Hi
I'm having trouble reading from COM1, writing works like a charm but I'd like
to be able to read the output from a switch or a router in order to determine
that the command was successful and the configuration actually went fine :-)
doing:
$fp = fopen(COM1, rwb);
fwrite($fp, $username .
Kim Madsen wrote:
I'm having trouble reading from COM1, writing works like a charm but I'd
like to be able to read the output from a switch or a router in order to
determine that the command was successful and the configuration actually
went fine :-)
doing:
$fp = fopen(COM1, rwb);
You
3 matches
Mail list logo