my GPS sent me to a port 8081 this log:
$$B130,354660046834688,AAA,35,4.649100,-74.108860,120306065413
I need to listen with netcat and send it to PHP
example:
file.php?log=$$B130,354660046834688,AAA,35,4.649100,-74.108860,120306065413
thanks
I found the solution .... NOT with NetCat (apparently not possible), the answer is: xinetd and Php
I solved this tutorial is solved in 10 minutes
You could pass the value through urlencode()
/urldecode()
. This would take care of any transcoding issues from the request being sent and received.
Are you asking though, how to listen with NetCat and send the request though?