some basic filebrowser support for upload.php