RE: [PHP] working with ini files

From: Date: Tue, 28 Feb 2006 18:32:49 +0000
Subject: RE: [PHP] working with ini files
Groups: php.general 
Request: Send a blank email to php-general+get-231218@lists.php.net to get a copy of this message
> > I have created my own ini file. I can read the values into an array > fine. but What I want to do is change a value in the ini file. Example > > file.ini > dog = 3 > cat = 4 > fish = 7 > > altered file.ini > dog = 3 > cat = 5 > fish = 7 > > how can I do this, I tried using ini_set but its not working. > help would be great, Thanks!! ini_set is for manipulating PHP.ini settings. Try this: http://codewalkers.com/seecode/138.html JM

« previous php.general (#231218) next »