Thread Rating:
  • 1 Vote(s) - 4 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help Editing PHP upload system
#11
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.
The Rules!
FTW Forum <-- Home of the Damned! --> Join me On MM


Reply
#12
i have iv looked threw the config file like 10 000 times alrdy ...
here is the config
here is the index code
Reply
#13
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
Reply
#14
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
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  PHP Framework List: An Ultimate Guide to 102 PHP Frameworks for Web Developers tk-hassan 0 943 07-27-2020, 11:26 PM
Last Post: tk-hassan
  Req. Upload PHP script. 3 X P L 0 I T 1 1,337 07-14-2012, 05:19 PM
Last Post: 'Snorlax
  PHP Video Tutorials (PHP For Beginners) Eleqtriq 4 3,671 10-10-2011, 01:00 PM
Last Post: Greyersting
  [PHP] SIMPLE NEWS SYSTEM Leprechaun Coder 4 2,771 05-15-2011, 04:46 PM
Last Post: Tunasty™
  Simple PHP Template System! Project Evolution 1 2,035 05-12-2011, 08:40 AM
Last Post: begginer

Forum Jump:


Users browsing this thread: 1 Guest(s)