title: How to read and write to an ini file with PHP
body: <p>I've been looking around the official php documentation but I'm unable to find what I'm looking for.</p>
  
  <p><a href="http://php.net/manual/en/function.parse-ini-file.php">http://php.net/manual/en/function.parse-ini-file.php</a></p>
  
  <p>I just want a function to edit and read the value from the php ini file, for instance,</p>
  
  <pre><code>[default_colors]
  sitebg = #F8F8F8
  footerbg = #F8F8F8
  link = #F8F8F8
  url = #F8F8F8
  bg = #F8F8F8
  text = #F8F8F8
  border = #F8F8F8
  
  lu_link = #F8F8F8
  lu_url = #F8F8F8
  lu_bg = #F8F8F8
  lu_text = #f505f5
  lu_border = #F8F8F8
  </code></pre>
  
  <ol>
  <li>How do I read the value belonging to "lu_link" or "footerbg"?</li>
  <li>How to I write a new value for these places?</li>
  </ol>