title: communicate c program and php
body: <p>I want to have a web page (written in php because it's what i know) that displays an input value. I want that value to be passed to a c programa that's already running. </p>
  
  <p>I though of using sockets to communicate between both process, but how do I manage to do that? how can I use fsockopen to connect to a local socket.</p>