title: How to Get php code from other server and implement to current page
body: <p>I have txt file on server 1, on that txt file i write php and html code like this :</p>
  
  <pre>
  <div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;b&gt;I want to eat &lt;?=$keyword;?&gt;&lt;/b&gt;</code></pre>
  </div>
  </div>
  
  </pre>
  
  <p>Then on server 2, I want to pull that data and implement to current page on server 2. I try to use this code :</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;?
  $keyword = 'pizza';
  $data = file_get_contents( 'http://www.domain.com/text.txt');
  echo $data;
  ;?&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>I want the result on server 2 page will display 'I want to eat pizza' but it just written "I want to eat".
  <br>
  It possible ?
  <br>
  Thank you very much for the answer.</p>