Hello! I'm creating a larger scale application in PHP and i'm using a .ini file to store some configuration for the user, quite easy to fetch data with the parse_ini_file function (returns array) but how would I write to a ini file, or the most convienient way to do so. That is needed because I am created a installer wizard type of thing and an admin panel, so it would be nice to write to the configuration file. Thanks for any help!
NardCake
30
Posting Pro in Training
Recommended Answers
Jump to Post@NardCake
Hello! I'm creating a larger scale application in PHP and i'm using a .ini file to store some configuration for the user, quite easy to fetch data with the parse_ini_file function (returns array) but how would I write to a ini file, or the most convienient way to …
Jump to Posthttp://stackoverflow.com/questions/5695145/how-to-read-and-write-to-an-ini-file-with-php
Has a write function or use the PEAR module - but as it states - issues can arise with quoting values.
All 7 Replies
LastMitch
NardCake
30
Posting Pro in Training
diafol
LastMitch
commented:
Nice, I forgot that PEAR has that package!
+9
LastMitch
diafol
NardCake
30
Posting Pro in Training
NardCake
30
Posting Pro in Training
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.