RE: working with ini files

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



[snip]
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
[/snip]

ini_set is for the php.ini, not yours. You will need to open and write
to your ini file. http://www.php.net/fopen

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux