This is a early version of a filesystem editor we wrote for our developers kit. It allows you do view a directory, create files, erase files, edit files, create directories, remove directories, and upload files from your browser directly into the directory.
/* This software was written 2000 by Derek Young at GSData Design */ /* Please Use some type of auth system for this file, if it got in the wrong hands, you could be seriously messed with. You can put it in a protected directory via .htaccess, or use your own auth system in php, either way, be carefull, I take no responsibility for any damages that this file causes. */
/* Set this directory to the physical location on your filesystem for the document root. */
$basedir="/usr/httpd/html/glimpse";
function reloadnow() { global $PHP_SELF; global $addons; header("Status: 302 Moved"); header("Location: $PHP_SELF".$addons); exit(); }
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.