March 2002
Intermediate to advanced
528 pages
21h 29m
English
parse_ini_file
array parse_ini_file(stringfilename[, boolprocess_sections])
Loads filename, a file in the standard PHP
.ini format, and returns the values in it as an
associative array. If process_sections is
set and is true, a multidimensional array with
values for the sections in the file is returned.
This function does not bring the values in
filename into PHP—it is only meant
to allow you to create configuration files for your applications in
the same format as PHP’s
php.ini file.