The Sandbox

Links

 

About

The Sandbox is a web developer's playground; it's a lightweight, single-directory filemanager. Many of the filemanagers that exist today are complex and bloated for the purpose of quickly editing a test file. The Sandbox is an alternative to such filemanagers. Using a single-directory system, the sandbox allows you to quickly write a PHP script, upload a file, and perform multiple other tasks within a directory you specify. It uses JavaScript whenever it can, so the interface is extremely fast. Error checking is built in. For the web developer who is away from his or her home development computer, this is the perfect way to work on programming projects. Currently, it sports a powerful file editor with autosave support, the ability to create, upload, rename, CHMOD, copy, and delete files, as well as some other functions.

 

Information

A server with PHP 4+ is required. A server with PHP 5+ is nicer.


Current Version: .95

 

SECURITY WARNING

The current version of the Sandbox does NOT contain any built in security. There is no login system, etc. All of the files in the directory that you set the Sandbox to work in are completely open to the public (should they know where those files are). This is incredibly dangerous, so please take care to use this on a test system only. If you do use it on your normal website, the best advice I can give you is to set a password to the entire Sandbox folder. This will prevent users from accessing your files. In the future, some kind of login system is planned for the Sandbox.

The Sandbox has built-in measures for checking to see if a user with malicious intent is trying to edit outside of the directory specified. I have not tested the integrity of this feature, however.

 

Screenshots

sb.jpg
When you click on a function, the correct input is automatically focused and highlighted.

sb2.jpg
The file editor is extremely powerful. On non-IE browsers, it will take the entire size of the page, as shown here. The autosave box will save your work to a backup directory so that you can retrieve it should something go wrong.

 

Changelog

Current Version: .95 - Fixed a glitch with the editor that prevented you from adding HTML character codes.
.93b - Fixed several glitches including the scrollbar on the autosave box glitch, made the front page a little better for those who have really long lists of files, and fixed the problem with Magic Quotes.
.912 - Hack to fix stripslashes problem. Thanks, David H.!
.91b - First public release.