title: How can I use existing Zend config.ini in a standalone php script?
body: <p>A client wants me to create a standalone php script, which needs to </p>
  
  <ul>
  <li>connect to the database of their existing web app and run a SQL query </li>
  <li>then send an email based on the results of the query.  </li>
  </ul>
  
  <p>The clients web app uses Zend framework version 1.10.<br>
  I would like my script to be able to access the database and SMTP connection details contained within the zend framework <code>/application/configs/application.ini</code> config file so that the client doesnt have to re-enter the SMTP and DB connection info once I give them the finished script.  </p>
  
  <p>How can I access the config details contained in <code>/application/configs/application.ini</code> in my script? </p>