Posted by Sander on 10/13/69 11:28
"Th3ZoR" <thezor@localhost.here> schreef in bericht
news:dhumi6$46b$1@nemesis.news.tpi.pl...
> ok, here's the thing: i've got program which communicates via serial
> connection (on tcp port) and I just:
> - connect via hyperterminal (tcp connection)
> - send data
> - get response from program
>
> Now, i'm in need to do something similiar in PHP. Question is: is it
> possible to do this without CGI ?
> If not.. which program to use under Linux/Windows to do this with one
> execution (something like "bla.exe -send='41234'")
Maybe this function will help:
http://nl3.php.net/manual/en/function.pfsockopen.php
Sander Swuste
[Back to original message]
|