HEX
Server: Apache
System: Linux www3.pit.tblive.com 5.14.0-687.38.1.el9_8.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Aug 12 17:19:12 EDT 2026 x86_64
User: awaldron (1020)
PHP: 8.1.34
Disabled: exec,passthru,shell_exec,system
Upload Files
File: /home/awaldron/www/archive/demo/upload/uplConfig.php
<?php
/*##################################################################################
|                                                                                  |
|  upload script by http://www.reducedcomplexity.com                               |
|  if you use the script please send an email to scripts@reducedcomplexity.com     |
|  found a bug? please send me an email so i can fix it.                           |
|                                                                                  |
|  use at your own risk! reducedcomplexity.com gives absolutely no warranties.     |
|  copyright http://www.reducedcomplexity.com | Rudi Bieller                       |
|                                                                                  |
*/##################################################################################

// turn on public mode / high security ? 1 means public use, 0 means use in admin-areas only.
// for your security: never ever set 1 to 0 when using the script on a public site!!!
// when using mode 0 all files have to be secured (.htacess) so that no-one except you or any other
// admin has access to them.
$pubMode = 1;

// extensions allowed for upload. files with these extensions can be uploaded when running in public mode.
// for your security: DO NOT add extensions that can be run within your webspace like PHP, PL, ... 
// as this ruins all security and could be used by an attacker against you.
if ($_GET["a"]=="content") $badExt = array("jpg","jpe","jpg","gif","png","bmp");
if ($_GET["a"]=="photo") $badExt = array("jpg");
if ($_GET["a"]=="doc") $badExt = array("jpg","jpe","jpg","gif","png","bmp","doc","dot","xls","xlt","pdf","ppt","txt","rtf","htm","html","xml","xls","xlt","jhtml","shtml","zip","rar");

// set your password for uploading files; set to $passwordUpl = ""; if no password is needed
// -> if no password is needed / is set, no field for entering a password will be displayed :)
$passwordUpl = "";
// set your password for administration (delete/rename in showuploadFiles.php)
$passwordDel = "";
// max. filesize to be uploaded (value in bytes: 10000 means 10kb, 100000 means 100kb, etc.)

if ($_GET["a"]=="content") $maxSize = 2097152;
if ($_GET["a"]=="photo") $maxSize = 2097152;
if ($_GET["a"]=="doc") $maxSize = 26214400;

// number of upload fields to be displayed
$uplfields = 1;
// show newname field? 0-no | 1-yes
$show_newname = 0;
// show overwrite field? 0-no | 1-yes
$show_overwrite = 0;
// show rename field? 0-no | 1-yes
$show_rename = 0;
// show autorename field? 0-no | 1-yes
$show_autorename = 0;
// show quit field? 0-no | 1-yes
$show_quit = 0;
// send email to admin when a file was uploaded? 0-no , 1-yes
$sendmail_upl = 0;
// admin email adress(es) - seperate email adresses with a comma, eg. $mailaddress = "you@yourdomain.com, you@anotherdomain.com";
$mailaddress = "awaldron@vocollect.com";
// language to be displayed // available is "en" for english or "de" for deutsch.
$language = "en";

// set the absolute path where you run rc_uploader. 
// please keep the trailing slash.
if ($_GET["a"]=="content") $baseFolder = "/home/awaldron/public_html/demo/gui/pics/";
if ($_GET["a"]=="photo") $baseFolder = "/home/awaldron/public_html/demo/gui/photos/upload/";
if ($_GET["a"]=="doc") $baseFolder = "/home/awaldron/public_html/demo/files/";


// include language files -------------------------
$langfilename = "messages_".$language.".php";
include ($langfilename);

// #############################################################################################
// do not edit below!!!!!!!!!!!!! ##############################################################
// #############################################################################################
define ("PUB_MODE", $pubMode);
define ("PWDUP", $passwordUpl);
define ("PWDADM", $passwordDel);
define ("MAXFSIZE", $maxSize);
define ("UPLFIELDS", $uplfields);
define ("SENDMAILUP", $sendmail_upl);
define ("BASEFOLDER", $baseFolder);
define ("SHOW_NEW", $show_newname);
define ("SHOW_OVER", $show_overwrite);
define ("SHOW_REN", $show_rename);
define ("SHOW_QUIT", $show_quit);
define ("SHOW_AUTORENAME", $show_autorename);

define ("MSG_OVER", $msgOver);
define ("MSG_REN", $msgRen);
define ("MSG_QUIT", $msgQuit);
define ("ERR_MSG_OVER", $errMsgOver);
define ("ERR_MSG_RENEX", $errMsgRenex);
define ("ERR_MSG_CPFAIL", $errMsgCpfail);
define ("ERR_MSG_TOOBIG", $errMsgToobig);
define ("ERR_MSG_NOUP", $errMsgNoup);
define ("MSG_SUCCESS", $msgSuccess);
define ("MSG_PUNK", $msgPunk);
define ("MSG_PWD", $msgPwd);
define ("MSG_NOFCHOSEN", $msgNofchosen);
define ("MSG_DELSUCCESS", $msgDelsuccess);
define ("MSG_INVCHAR1", $preg_err_say0);
define ("MSG_INVCHAR2", $preg_err_say1);
define ("MSG_INVEXT", $msgInvExt);

define ("TXT_FILE4UP", $txt_file4up);
define ("TXT_NEWNAME", $txt_newname);
define ("TXT_FILEEXISTS", $txt_fileexists);
define ("TXT_OVERWRITE", $txt_overwrite);
define ("TXT_RENAME", $txt_rename);
define ("TXT_QUIT", $txt_quit);
define ("TXT_AUTORENAME", $txt_autorename);
define ("TXT_PASS", $txt_pass);
define ("TXT_GO", $txt_go);

?>