title: PHP: Remote Function Call and returning the result?
body: <p>I'm not very expert to PHP. I want to know how to communicate between 2 web servers. For clearance, (from 1st Server) run a function (querying) on remote server. And return the result to 1st server.</p>
  
  <p>Actually the theme will be:<br>
  <code>Web Server (1)</code> ----------------> <code>Web Server (2)</code> ---------------> <code>Database Server</code><br>
  <code>Web Server (1)</code> &lt;---------------- <code>Web Server (2)</code> &lt;--------------- <code>Database Server</code><br></p>
  
  <p><code>Query Function()</code> will be only located on <code>Web Server (2)</code>. Then i need to run that <code>query function()</code> remotely from <code>Web Server (1)</code>.</p>
  
  <p>What is it call? And Is it possible?</p>