Jump to content


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


settings for a script?

Recommended Posts

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:

$SETTINGS_PATH = "/home/public_html/settings";
$TEMPLATE_PATH = "/home/public_html/templates";
$ATEMPLATE_PATH = "/home/public_html/templates";

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.

Share this post

Link to post
Share on other sites


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.