PHP Upload Tool provides a simple file management web interface. The motivation was to create a drop-box for users to be able to upload files similar to FTP, but easier for users to use and a non-technical admin to manage.

Send questions to: Click to send email.

License: BSD style

Free, open source, and all that good stuff.

Copyright (c) 2006, Noah Spurrier
All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

* Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
* Neither the name of the NOAH.ORG nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.


Download

Download the current version here from the SourceForge site.


Install

Note that the upload tool is not secure until you initialize it.

Simply untar/gunzip the current release file:

tar zxf upload.tar.gz

Copy the "upload" directory tree to a location under your Apache server document root. Then point your browser to that path.

Trivial example:

    cp -R ../upload /var/apache2/htdocs/.
    sudo chown -R www:www /var/apache2/htdocs/upload
    lynx http://www.example.com/upload

When you first navigate to the upload tool it will bring you to a form page that will define a new root user password. This form will also create the initial config.conf and users.conf files. The form will choose a default home directory. All users directories will be created under this path. File management such as upload and delete will only be allowed under this home directory. In general, you can let the Initialize form choose this path automatically.

Apache/PHP Setup

To enable large uploads you may need to reconfigure PHP. You can modify the php.ini or the Apache httpd.conf file. Add this to httpd.conf:

    <Directory />
      php_value max_execution_time 300
      php_value upload_max_filesize 40M
      php_value post_max_size 40M
    </Directory>
    LimitRequestBody 40000000


Documentation

None at this time. It's pretty simple.


TO DO

nothing yet

Click to send email.