a replacement for PHP's ini file functions.  This will write it as well.