Sorry about that. I have a program I've developed which now gets its system settings from a database. In hind-sight I see that I really shouldn't do that and need to convert it to get its settings from a file instead. However, I'm not not for sure what would be the best way to do that.
I'm envisioning the settings in the file to take the form of:
$config_setting = "whatever";
But what would be the best way to retrieve the config settings and use them throughout my multi-paged program? Should I have a function that reads the file and throws all the settings into a $_SESSION array? Or is there a better way?
Thanks!
Alan