title: PHP file_get_contents from another server, where is the actual job done?
body: <p>If i am surfing this webpage : www.example1.com/1.php witch PHP code looks like below:</p>
  
  <pre><code>&lt;?php
  
  echo file_get_contents("http://www.example2.com/2.php");
  
  ?&gt;
  </code></pre>
  
  <p>And www.example2.com/2.php code is as follows:</p>
  
  <pre><code>&lt;?php
  
  echo file_get_contents("http://www.example3.com");
  
  ?&gt;
  </code></pre>
  
  <p>And www.example3.com html code is as follows:</p>
  
  <pre><code>&lt;html&gt;
  &lt;body&gt;
  
  &lt;h1&gt;Hello&lt;/h1&gt;
  
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>Is the job performed by getting example3.com html code done by server for domain example1.com totally, or is server for domain example2.com allso involved in gathering data from example3.com?</p>
  
  <p>I mean is server for example2.com accually gatehering any data from example3.com, or is it just passing it's own PHP code to example1.com. And then example1.com server running the example2.com PHP code on it's own and gather data from example3.com?</p>