Loads an Ini File.
void
loadIniFile
(String $filename, [boolean $process_sections = FALSE])
-
String
$filename: Name of the Ini File to load
-
boolean
$process_sections: whether to parse Sections within the Ini File or not
Writes an array to an Ini File.
Knows how to handle Subarrays and how to keep global variables even if they appear after an subarray.
boolean
write_ini_file
(String $filename, array $assoc_array, [String $comment = ''], [boolean $removeEmptyKeys = FALSE])
-
String
$filename: the full qualified Filename
-
array
$assoc_array: the Array to save as Ini File
-
String
$comment: Comment line at the beginning of the File
-
boolean
$removeEmptyKeys: if set to TRUE each empty key will be left out