parse_ini_file

It parses a configuration file

Example

<?php

echo “<pre>”;

print_r(parse_ini_file(“test.ini”));

?>

Output

Array
(
[me] => phpcodez
[first] => http://www.phpcodez.com
)


“test.ini” file content

[names]

me = phpcodez


[urls]

first = “http://www.phpcodez.com”