configuration files

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I thought it would be a good idea to use parse_ini_file instead of doing
require_once("config.ini"). However, what do I do about arrays that i had in
my config file, cos parse_ini_file() does not like them. eg:

[foods]
favFoods = array('this','that','other',)

I notice my php.ini file is arranged in a similar format, and where there
are multiple options they are separated by a colon, like include_dir =
./:../ or something similar.

Rgds


Malcolm

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux