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:
<?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"; ?>
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.