write_ini_file equivalent

From: Date: Sat, 26 Apr 2003 14:09:39 +0000
Subject: write_ini_file equivalent
Groups: php.general 
Request: Send a blank email to php-general+get-145352@lists.php.net to get a copy of this message
Hi, all -- In reading up on parse_ini_file, which looks like it will do what I want (though I've never liked the ini file format), I find that there is no corresponding write_ini_file function to write back my changes :-) My goal is to read in the ini file not only to construct my page but also to present to the user these variables ('name', 'bgcolor', 'phone', etcetc) for changes -- and then write it back. Do I need to whip up a function to walk through the array and write the sections and settings, or is there already something out there? TIA & HAND :-D -- David T-G * There is too much animal courage in (play) davidtg@justpickone.org * society and not sufficient moral courage. (work) davidtgwork@justpickone.org -- Mary Baker Eddy, "Science and Health" http://justpickone.org/davidtg/ Shpx gur Pbzzhavpngvbaf Qrprapl Npg!

« previous php.general (#145352) next »