Maverickb7 Posted April 7, 2006 Share Posted April 7, 2006 Hi people...I'm trying to create a cms to run a site of mine and have come across a problem. I have a file called settings.php that contains a bunch of settings in the following format. I example of how the file looks follows:[code=php:0]<?php $SETTINGS_PATH = "/home/public_html/settings"; $TEMPLATE_PATH = "/home/public_html/templates"; $ATEMPLATE_PATH = "/home/public_html/templates"; $DB_NEWSTAB="newszv"; $LANGUAGE_FILE="en_language";?>[/code]What I would like to know is what the best method would be for editing these settings via http within a admincp. I'm just starting with php so a simple and effective method would be appreciated. If anyone could show me a tutorial or provide me with some code that does this for me that would be great as this is something I would really like to add. Quote Link to comment https://forums.phpfreaks.com/topic/6784-settings-for-a-script/ 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.