a simple PHP file uploader
PHP Shell CSS JavaScript Other
Permalink
Failed to load latest commit information.
images
uploads HTML5 Validated index page , added <video> <audio> playback on videos… Oct 7, 2011
.gitignore gitignore Apr 29, 2011
README.mkdn Added some exotic image file formats :P Jun 9, 2010
admin_announce_server.php added mirror possiblity May 21, 2010
cleaning_support.php
configuration.php.default
file.php
file_helpers.php
footer.php
index.html in case of a broken apache configuration , i.e. it doesnt index.php d… Jan 30, 2016
index.php
install.sh adding keyboard random control Jan 30, 2016
list.php
myloader
myloader.css HTML5 Validated index page , added <video> <audio> playback on videos… Oct 7, 2011
myloader.js
random.php random.php also has keyboard now.. Jan 30, 2016
security_test.html ... Jan 30, 2016
stat_keeper.php added upstream counting , disk space quotta is now checked :) May 21, 2010
vfile.php
visuals.php

README.mkdn

About myloader

myloader is a PHP form for uploading files into your server. It is an easy way to share files with others.

How to install it

1) Upload myloader directory somewhere to your server.

2) chmod 777 myloader and chmod 777 myloader/uploads to make both directories writeable by apache

3) Edit your Apache/PHP configuration and add the following lines in php.ini ( in ubuntu it is positioned in /etc/php5/apache2/php.ini ) to change the max default size of uploads permitted by php: php_admin_value upload_max_filesize 20M php_admin_value post_max_size 20M

You may choose other sizes if you want.

4) The files uploaded will be moved to ./uploads/ , in order for your system to remain secure , you will need to configure apache to deny direct access to the folder ./uploads/
The reason for this is because someone can upload a .php file and then run it and effectively gain access to all the files that apache can access..

To overcome this there are two ways!

a)The first is with the .htaccess file that is provided by default in ./uploads/.htaccess , in order for .htaccess files to be acknowledged you will have to add AllowOverride All to the apache configuration of your site , this will deny direct access , to php or executables that can put your system in risk
If your apache has AllowOverride All you won`t need to do anything , it will work out of the box , if not you will need to change it to AllowOverride All

b)Your second option is to manually specify Deny from all and keep your AllowOverride none setting , if you are familiar with apache configuration this is better

In any case to check if your settings are ok open security_test.html from your site

5) Finally you will need to change configuration.php to make it match your webpage setup!

You are ready to go!

Requirements

  • Bash/SSH/FTP access to chmod the two directories
  • PHP5
  • Apache2