David T-G wrote:

I have an ini file for my application and I use parse_ini_file to load it
and some custom code to save modifications.  I'd like to figure out how
to store array values in there since that is the logical place to keep
config data.  If I can't, I could probably use a string with @@ or | in
it as the token but an array is so much more elegant because that's what
it's meant to do :-)

If you really need to define arrays, just put them in a .php file and include() it. You're just going to use some hack to do it with an .ini file and parse_ini_file(), so why bother?


---John Holmes...

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



Reply via email to