Hi,<br><br>I would like to create a way for wiki administrators (i.e., users who have the password to edit pages and upload attachments) to change Site-wide settings without having to get involved with the config.php file.<br>
<br>My thought was to put the following line in the config.php file<br><br> include_once(uploads/sitesettings.php);<br clear="all"><br>and then to create a page named Site.SiteSettings.<br><br>On that page, I attached one file:<br>
<br> Attach:sitesettings.php<br><br>In that file, I planning on including php statements such as:<br><br> $SkinBodyColor = '#f7b173';<br><br>Great so far, until I tried to upload the sitesettings.php file: It turns out, for very good reasons that I hadn't thought about, php files are not allowed to be uploaded. <br>
<br>The reason for this is if php files were allowed, then a user could do all sorts of damage in putting other php commands in the file, thus trashing all securtiy.<br><br>So, can someone suggest another way to do what I want to do?<br>
<br>Please include my email address explicitly in the reply since I don't normally read pmwiki-users.<br><br>Thanks.<br><br>-- Harry<br><br>----<br>Harry Forsdick<br>(781) 861-6149 (h); (781) 799 6002 (c)<br><a href="http://www.forsdick.com">http://www.forsdick.com</a><br>