title: How to call "CURL" to call external URL
body: <p>How to use "CURL" to call external URL since the url_fopen is disabled for security reasons. I want to open a pdf file. For security reason url_fopen function is disabled. So anyone can help me?</p>
  
  <pre><code>function Header()
  {
   $this-&gt;SetY(20);
   $this-&gt;Image("images/logo-s.jpg", 120,0,80,20, "JPG", "www.example.com");
   $this-&gt;Ln(4);
  }
  </code></pre>