AKText::parse_ini_file
A PHP based INI file parser.
Thanks to asohn ~at~ aircanopy ~dot~ net for posting this handy function on the parse_ini_file page on http://gr.php.net/parse_ini_file
Signature
public function parse_ini_file(string
$file,
[bool
$process_sections = false,
[
$raw_data = false]] )
Parameters
-
$file
- Filename to process
-
$process_sections
- True to also process INI sections
-
$raw_data
Returns
- array
- An associative array of sections, keys and values