title: How to have a listener PhP script respond to GET requests
body: <p>I'm trying to accomplish remote php call and return as described in this question: <a href="https://stackoverflow.com/questions/7460577/php-remote-function-call-and-returning-the-result">PHP: Remote Function Call and returning the result?</a></p>
  
  <p>However, I don't know how to make the listener script that responds to the GET request. How do I create the script, allow it to be called remotely, and have it process the request appropriately? Is there an example somewhere?</p>
  
  <p>I understand this is probably a very low-level question, but I'm very new to PhP.</p>