Global array for application config?

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

I am writing a web based application and need to have about 40 user
defined "preferences" (variables) set and accessed as the application
runs. I already created a conf.php which can be used as a require_once
page that only contains variables which are not Global, but do exist on
each page they are "required" on. My current scheme works, but requires
the parsing of the conf file to change array might be easier?

My question is:

Is this the best way to have user defined "preferences" (variables) set
in a php app, or would a global array work better? If globals are the
way to go would I require_once the page (script) they are on on each
page of my app?

Thanks for any ideas you can give me,


Site Timeline