astonishin Posted June 11, 2011 Share Posted June 11, 2011 How can i make a site settings area? Currently i use a config file to change basic things about my site such as the url and name. Quote Link to comment https://forums.phpfreaks.com/topic/239090-make-site-setting-area/ Share on other sites More sharing options...
Fadion Posted June 11, 2011 Share Posted June 11, 2011 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. Quote Link to comment https://forums.phpfreaks.com/topic/239090-make-site-setting-area/#findComment-1228425 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.