is free software; you can redistribute
# it and/or modify it under the terms of the GNU General
# Public License as published by the Free Software
# Foundation; either version 2 of the License, or
# (at your option) any later version, as long as the
# copyright info and links stay intact. You may not sell
# this program under any circumstance without written
# permission from the author. Full license is in the
# included ZIP/GZ package this script was downloaded in.
#
# *please send me feedback - and enjoy!
#---------------------------------------------#
################## configurations ####################
# header & title of this file
$title = "File Upload Manager";
# individual file size limit - in bytes (102400 bytes = 100KB)
$file_size_ind = "2097152";
# the upload store directory (chmod 777)
$dir_store= "store";
# the images directory
$dir_img= "img";
# the style-sheet file to use (located in the "img" directory, excluding .css)
$style = "style-def";
# the file type extensions allowed to be uploaded
$file_ext_allow = array("dmg","doc","exe","gif","gz","htm","jpg","jpeg","nfo","psd","png","pdf","rar","txt","rtf","zip");
# option to display the file list
# to enable/disable, enter '1' to ENABLE or '0' to DISABLE (without quotes)
$file_list_allow = 1;
# option to allow file deletion
# to enable/disable, enter '1' to ENABLE or '0' to DISABLE (without quotes)
$file_del_allow = 1;
# option to password-protect this script [-part1]
# to enable/disable, enter '1' to ENABLE or '0' to DISABLE (without quotes)
$auth_ReqPass = 1;
# option to password-protect this script [-part2]
# if "$auth_ReqPass" is enabled you must set the username and password
$auth_usern = "sc";
$auth_passw = "sc";
################ end of configurations ###############
# DO NOT ALTER OR EDIT BELOW THIS LINE UNLESS YOU ARE AN ADVANCED PHP PROGRAMMER
?>
if (@phpversion() < '4.1.0') {
$_FILE = $HTTP_POST_FILES;
$_GET = $HTTP_GET_VARS;
$_POST = $HTTP_POST_VARS;
}
clearstatcache();
error_reporting(E_ALL & ~E_NOTICE);
$fum_vers = "1.3"; # do not edit this line, the script will not work!!!
$fum_info_full = "File Upload Manager v$fum_vers";
$auth_formUser = $_POST[auth_formUser];
$auth_formPass = $_POST[auth_formPass];
$login = $_GET[login];
$fum_user = $HTTP_COOKIE_VARS["fum_user"];
$fum_pass = $HTTP_COOKIE_VARS["fum_pass"];
function authDo($auth_userToCheck, $auth_passToCheck)
{
global $auth_usern, $auth_passw;
$edPass = md