Jump to content


settings for a script?

  • Please log in to reply
No replies to this topic

#1 Maverickb7

  • Members
  • PipPipPip
  • Advanced Member
  • 112 posts

Posted 07 April 2006 - 05:55 AM

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.

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users