title: Include external class php
body: <p>How can include a external class in a php file?
  example:</p>
  
  <pre><code>//Test.class.php
  
  &lt;?php 
  class Test{
      function print($param){
          echo $param;
          }
      }
  ?&gt;
  
  //######################################################
  
  //test.php
  &lt;?php
  include('http://www.test.com/Test.class.php');
  
   $obj = new Test();
  
  echo $obj-&gt;print("hola");
  ?&gt;
  </code></pre>
  
  <p>The class is on another server. I have enabled the <code>allow_url_include</code> and <code>allow_url_fopen</code>.
  Why can't I call the function <code>print</code>?</p>