A simple yet powerfull website editor, this editor uses only 4 configuration variables and is capable of creating files/dirs, renaming files/dirs, moving files, deleting multiple files/dirs and (apache only) creating .htpasswd files with accociated .htaccess file
By : ChanceZeus
I created a simple site editor to be able to update my site everywhere on the world, if there's a webbrowser I can edit my site. Everything is handled in one PHP script and 2 INC files (these are only used to create a standard HTML header and make sure the browser doesn't cache the document). Configuration is very simple, just extract the .zip file to your webroot and edit the $configure variable on top of the index.php file. This variable consists of 4 parts: "apachedir" => path to the install dir of apache (ie the dir where apache is started from without the /bin/ part) "startdir" => the dir the script should start with (ie $DOCUMENT_ROOT + startdir), !!!beware that you can access every directory under document root even those below startdir!!! "title" => the title of the html output "stylesheet" => a stylesheet used to format the html output (leave blank for none) That's all
DISCLAIMER: The content provided in this article is not warranted or guaranteed by Developer Shed, Inc. The content provided is intended for entertainment and/or educational purposes in order to introduce to the reader key ideas, concepts, and/or product reviews. As such it is incumbent upon the reader to employ real-world tactics for security and implementation of best practices. We are not liable for any negative consequences that may result from implementing any information covered in our articles or tutorials. If this is a hardware review, it is not recommended to open and/or modify your hardware.