title: How to access external library in magento?
body: <p>I have a make a file in the magento root. like below</p>
  
  <p>Foldername/pay.php</p>
  
  <p>This files call api and work with some lib. when i call it through direct in the browser url.</p>
  
  <p>I want to call this within magento function.</p>
  
  <p>pay.php have a class and I add this file within a magento module file and make a object but it shows the error of object reference.</p>
  
  <p>What should i do? Please suggest me.</p>
  
  <p>Thanks in advance to all magento dev</p>