title: Possible to have one config file for javascript and php?
body: <p>I have some host-specific values I keep various config files for but now I need some of their values in my javascript code.  How can I have one config for both javascript and php?</p>
  
  <p>The information in the config should be private if possible as it contains host/database credentials.</p>