save this into database.... make table called 'settings' like this
id, key (here are keys like 'sitename', 'sitemail', itd itd), value (value of a key) and then every site loading retrieve this -- Lep pozdrav, Tilen Majerle http://majerle.eu 2011/1/29 elias <[email protected]> > Hi, > > How would I best solve this problem: > > I have a couple of variables I would want to store 'somewhere', and > will access a lot. > Variables like: > * sitename > * prefered thumbnail width (so a couple of ints) > * a litlle text to show as message on the website > * probably more > > The idea is that this information should be possible with a form, when > an administrator is logged in. > The ability of changing is very important. > > -- > Our newest site for the community: CakePHP Video Tutorials > http://tv.cakephp.org > Check out the new CakePHP Questions site http://ask.cakephp.org and help > others with their CakePHP related questions. > > > To unsubscribe from this group, send email to > [email protected]<cake-php%[email protected]>For > more options, visit this group at > http://groups.google.com/group/cake-php > -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/cake-php
