Jump to content

Make Site Setting Area


astonishin

Recommended Posts

Using a config file is alright. Personally I like using MySQL to store config data, as it's a cleaner and easier method to manage. For example:

 

table "config"

----------------

name | value

----------------

site_url | mysite.com

site_title | My Site Title

 

It has just a bit of overhead compared to just including a PHP file, but that shouldn't be a problem for most sites.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.