shadowq Posted November 21, 2007 Share Posted November 21, 2007 I'm creating a web-based database thingy for the organisation I work with- and of course there are a bunch of variables that I don't want to be touched by end-users, but then there are a few that I do want to be changeable by a 'super-user/moderator.' I'm trying to come up with the best way to create a 'configuration' part of the 'admin' section, which has the options to change, which will then open the particular file (let's say config.php) and edit those particular variables. I'm open to all suggestions- thanks heaps in advance for your help. JJ. Link to comment https://forums.phpfreaks.com/topic/78182-creating-configuration-page-to-alter-configphp/ Share on other sites More sharing options...
revraz Posted November 21, 2007 Share Posted November 21, 2007 Load the file into a Form. Link to comment https://forums.phpfreaks.com/topic/78182-creating-configuration-page-to-alter-configphp/#findComment-395644 Share on other sites More sharing options...
PHP_PhREEEk Posted November 21, 2007 Share Posted November 21, 2007 If the variables are in a file, then FTP would be your best bet. If the variables are in MySQL, use a webform and http auth for access, or SESSIONS auth. PhREEEk Link to comment https://forums.phpfreaks.com/topic/78182-creating-configuration-page-to-alter-configphp/#findComment-395647 Share on other sites More sharing options...
wsantos Posted November 21, 2007 Share Posted November 21, 2007 What type of configuration are you referring to? Link to comment https://forums.phpfreaks.com/topic/78182-creating-configuration-page-to-alter-configphp/#findComment-395651 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.