Support Forums

Full Version: Help Editing PHP upload system
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
I see there is a config.php file amongst the files.
I suspect that will contain the options you need.
Post that code here mate. Let us see. Should be a simple edit.
i have iv looked threw the config file like 10 000 times alrdy ...
here is the config
here is the index code
Code:
// Files to ignore(not list) in the upload directory. ".htaccess" is ignored by default.
$up_ignore1 = ".php";
$up_ignore2 = ".html";
$up_ignore3 = ".jpg";
$up_ignore4 = ".png";
$up_ignore5 = ".bmp";

You can add every file, such as zip, rar, exe, shtml, up until only .dat is left.
I would reccomend using an actual array of ONLY accepted files, but in this case - I'd just use something like below:

Code:
// Files to ignore(not list) in the upload directory. ".htaccess" is ignored by default.
$up_ignore1 = ".php";
$up_ignore2 = ".html";
$up_ignore3 = ".jpg";
$up_ignore4 = ".png";
$up_ignore5 = ".bmp";
$up_ignore6 = ".zip";
$up_ignore7 = ".rar";

Etc, good luck. Smile
Not sure if you're interested, but I am selling a really old version of Uploadah; which can be found here: http://www.supportforums.net/showthread.php?tid=12109
Pages: 1 2