Reputation: 1
I created a custom ini file for keep some array details. Not used for configuration like values. Then I would like to update or remove sections from this files.
Currently I used parse_ini_file function and update the array and save that array to ini file. But my file is a large file and this process may happen every second. So i want to update each sections without file open and save. That means I am looking a function like ini_set.
Some sections from my ini file mention above. How can I edit these each sections by program. I know one solution like; read the sections as an array, make the changes done to the array and save that array to the ini file. Any body have any other idea?
Upvotes: 0
Views: 155