My first instinct is to create my own table to store these parameters. Then you have full control over where, where and by whom the data is available ... globally through all your MU blogs.
Regarding the sample code, I suggest starting with codex or trying to get through this tutorial .
source share