File King - Advanced File Manager

Multi-user, multi-functional, online file management system that adds tremendous value to any website.



Advanced file management php script

Multi user file management system v2.0
Administrator can create users and set their permissions (what users can see and do, what kind of files upload, set bandwidth limits, filesize limits). He also has statistics and activity logs, every users action goes into database logs. Admin can upload files and change his password, since v1.2.1. Since v1.3 admin can create upload folders and assign them per user, as well as delete file messages.

Users can (depending on permissions) upload/delete their files, see all uploaded files, delete any file, edit their file. They also have their own quick stats.Since v1.4 – admin have option to select to which folder upload files,new options in settings screen: allow new user registrations and auto-Approve new users. If new user registrations are enabled then on login page will appear new link – to create new account. By default users will not get approved automatically but admin can change that. Also added activity log cleaning option and activity log CSV download option. Added session checker to download.php – now if user is not logged in he will not be able to download file. Another new feature is “forgot password” functionality.

Demo:

Control Panel
Administrator Access:
Username: admin    Password: pass


User Access:
Username: test    Password: 1234

















General Features:

- Option to select upload directory before uploading file
- Download activity logs in CSV format
- Delete activity logs
- Ability to upload files for specific users
- Multi folders & sub-folders structure
- Option to enable user registrations (with notifications to admin and user)
- Option to enable new user auto-approval
- Password recovery
- Messaging for file between admin/user (with gravatars)
- “New file message” notification for admin/user
- File extensions editor for admin
- Easy upgrade file from older versions to new ones, for your convenience
- Link sharing (copy paste or send by internal mailer)
- Multiple file upload (swfuploader plugin)
- old single file upload for users with no js enabled.
- Admin notifications to email about file delete, upload, update
- Multi user access
- Uploads statistics
- Includes install.php file for easy database installation.

Administrator Features:
- Delete file messages;
- Create folders;
- Assign upload folders to each user;
- Upload files;
- Change password through users management screen;
- Manage user permissions;
- Manage bandwidth / space / limits allocation per use;
- View activity log;


Features (v2.0): (June 28, 2011)
- assign multiple folders / sub folders for any user
- admin can upload files for any user into their folder
- added sub folders functionality
- added accordion style viewer for folders/sub-folders
- small css adjustments
- fixed undefined variables notice when adding user which exists
- fixed undefined variables on many different pages.
please note that this is not the final 2.0 version, we will release another update soon, with more features.

Features (v1.4.1) (January 23rd):

- Added paging to all script sections!
- Fixed ‘unknown sender’ issue for messaging.

Features (v1.4):
- Admin can now select upload directory before uploading file
- Added option to download activity logs in CSV format
- Added option to delete activity logs
- Added option to enable user registrations (with notifications to admin and user)
- Added option to enable new user auto-approval
- Added forgot password option
- Fixed download issue, now you have to be logged in in order to download file

Features (v1.3):
- Admin can now delete file messages
- Admin can create folders
- Admin can assign upload folders to each user

Features (v1.2.1):
- Admin can now upload files too
- Admin can now change his password through users management screen.

Features (v1.2):
- Messaging for file between admin/user (with gravatars)
- “New file message” notification for admin/user
- File extensions editor for admin
- Easy upgrade file from v1.1 to v1.2 for your convenience

Features (v1.1):
- Link sharing (copy paste or send by internal mailer)
- Multiple file upload (swfuploader plugin)
- old single file upload for users with no js enabled.
- Admin notifications to email about file delete, upload, update
- Easy upgrade file from v1.0 to v1.1 for your convenience

Features (v1.0):
- Multi user access
- Uploads statistics
- User permissions ( for admin )
- Bandwidth / space / limits allocation per user ( for admin )
- Activity logs ( for admin )
- Includes install.php file for easy database installation.



Oct. 9, 2009
Multiple file uploads, admin notifications.

Oct. 12, 2009
Fixed share link 404 error bug when using multiple file uploader, fixed user edit screen for admin (password was required to edit user), fixed default share link permissions for user.

Nov. 4, 2009
Finally added functionality for admin to upload files too. You have to set file extensions and quota through users screen for admin in order to start uploading files. Now you can also change admin password through admin area (users management)

Nov. 6, 2009
Added functionality for admin to delete messages and to create upload files & assign them per user.

Dec, 29,  2009
Version 1.4 submitted for review

Jan. 23, 2010
Version 1.4.1 submitted for review

Support & Updates
If you have any requests or comments for future versions or you need help with this script – please leave a comment or email me through profile page.

Features Request List (from users)
- download counter for each file (scheduled)

Have questions? Answers are somewhere below.


Installation Related Questions
I was wondering about upgrading to 1.4. Do I need to reupload everything or just the dbconnect.php and the upgrade_1.4.php and if I do have to reupload everything will that delete all my files I have on there?

I was wondering about upgrading to 1.4. Do I need to reupload everything or just the dbconnect.php and the upgrade_1.4.php and if I do have to reupload everything will that delete all my files I have on there?

You have to reupload everything. Database will be intact so files will stay there. Just make sure you don’t delete uploaded files from FTP .

Errors and Related Issues
Admin does not have any allowed extensions or upload quota appearing on the upload page, so I can’t upload any files because the file browser keeps all files invisible in the browse for files window. How to resolve this?

Admin does not have any allowed extensions or upload quota appearing on the upload page, so I can’t upload any files because the file browser keeps all files invisible in the browse for files window. How to resolve this?

Please go to user management section and edit admin’s account – add everything you need (extensions, file size) and save it.

I keep getting the error message everytime I upload a large file (10MB or more) Error! Tried to upload . Got ‘Your upload quota has been reached. Try deleting some files.’ Each user has 100MB disk quota and 100MB file size. How to resolve?

I keep getting the error message everytime I upload a large file (10MB or more) Error! Tried to upload . Got ‘Your upload quota has been reached. Try deleting some files.’ Each user has 100MB disk quota and 100MB file size. How to resolve?

By default php allows to upload 10MB only Script does not override php settings, so in order to upload larger files you have 2 options 1) you can edit php.ini file if you have access to it and set upload_max_filesize -per your needs. 2) you can create .htaccess file with following contetns:

php_value upload_max_filesize 100M
php_value post_max_size 100M
php_value max_execution_time 200
php_value max_input_time 200

but you will have to ensure that you are allowed to create and use such files with your hosting provider, I found that many times htaccess support is turned off by default, so you might need to ask to enable it for you.

either 1 of these options will solve your troubles.

Everything is working fine except for when I or client uploads anything over 2mb no matter what the allowance is set to i get the reading Error! Most likely upload directory doesnâ

Everything is working fine except for when I or client uploads anything over 2mb no matter what the allowance is set to i get the reading Error! Most likely upload directory doesnâ

<p>By default PHP allows to upload files up to 2MB, everything more than that will be declined by server and you will get error despite all the settings which you setup for the user.</p> <p>In order to fix this create .htaccess file in root of your hosting with following:</p> <p>php_value upload_max_filesize 10M <br /> php_value post_max_size 10M<br /> php_value max_execution_time 200 <br /> php_value max_input_time 200</p> <p>instead of 10M &ndash; you can set whatever maximum limit which you want.</p>

List of hosting companies which do not allow increasing php upload limits:

List of hosting companies which do not allow increasing php upload limits:

FatCow.com

I have troubles downloading large files from file management script, how can this be resolved?

I have troubles downloading large files from file management script, how can this be resolved?

In order to download large files may have to alter the memory_limit of the php.ini. The default is 32M and this is enough for files up to 25MB. (thanks to station8 for bringing this to our attention)

After installing showed up this message on the main page. Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in ...../includes/functions.php on line 122

After installing showed up this message on the main page. Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in ...../includes/functions.php on line 122

The error which you sent indicates that database tables were not installed properly. Please make sure you get CORRECT values for database connection (host, username, password, database name) from hosting provider, enter them in dbconnect.php and then run install.php. After successful installation you should see about 10 lines of text, last line will also tell you to delete the install file and go to index.php.Make sure database which you entered into dbconnect.php EXISTS - our script doesn't create database, it only creates tables in your database and populates them.

Feature Requests Related
Can you modify this script per my needs ? Can you add functionality "X" and options "Y" etc... ?

Can you modify this script per my needs ? Can you add functionality "X" and options "Y" etc... ?

Definitely, I can modify any of my scripts for you, or create a new script from scratch per your needs, send me an email with detailed description through den page and I will be happy to give you a quote on your development needs.

Our products make people happier!


What you need to have in order to use this block:


PHP 5.2 and above
MySQL 4.1 and above

Installation Instructions
1. open /includes/dbconnect.php and edit database connection variables.
2. upload script to your server, run install.php
3. if you are upgrading from version 1.4 to 2.0: upload all files, edit dbconnect.php with your settings, run upgrade.php.

Regular Licensing Terms for Envato Clients

When you purchase an item you are in fact purchasing a license to use that item. Different licenses give you different rights of usage. For most instances our Regular License is most appropriate.

Terms Overview

The Regular License grants you, the Purchaser a non-exclusive, non-transferrable right to make use of the work that you acquire (Work).
--------------------------------------------------------------------------------------------------------
YES - The regular license allows you to use an item within a project of your own or on behalf of a client. For example, you could use an item purchased under a regular license in a website, a presentation, a promotional video, a poster or a free game. For web content a regular license is suitable for use on a single domain or single subdomain or single directory. For most buyers the regular license is sufficient.

NO - The main thing you cannot do is offer the item up for resale either on its own or as part of a project. So you can use the item in a free game, but not in a game that is on sale. You can use the item in a website, but not in a web template that you sell.
--------------------------------------------------------------------------------------------------------

Terms Description

Your use of the Work, under the Regular License, is subject to the following conditions:

(a) Your use of the Work is limited to a single application.

(b) Where the Work is an installable software application designed to help perform singular specific tasks, the use of the Work is limited to a single concurrent usage. In these cases, the “single application” of the Work is its installation. Examples of Works where the output can be used on many projects as long as only one copy of the Works is running at any one time are:

   1. Flash .MXP (extension)
   2. PhotoShop .ABR (brushes)
   3. PhotoShop .GRD (gradient)
   4. PhotoShop .PAT (pattern)
   5. PhotoShop .ASL (style layer)
   6. PhotoShop .ATN (action)
   7. PhotoShop .CSH (custom shape)
   8. TrueType .TTF (font)
   9. OpenType .OFT (font)
  10. PostScript .PFM (font)

(c) You may use the Work alone or you may incorporate the Work into another work you are creating.

(d) Unless you have our prior written consent, you must not directly or indirectly license, sub-license, sell or resell or provide for free the Work or offer to do any of these things. All of these things are referred to as Resale.

(e) You may reproduce the Work.

   1. in a printed format or;
   2. on a website or;
   3. in an electronic document such as a PowerPoint presentation or an eBook or;
   4. as part of software you create or;
   5. in a video production or;
   6. in a music track.

(f) You may use the Work in a work which you are creating for your own purposes or for your client who has asked you to create it.

(g) You must not incorporate the Work in a work which is created for Resale by you or your client.

(h) If the Work is used or incorporated in a work there is no restriction on the number of copies of that work that can be reproduced and distributed (provided the use/incorporation remains a single application and the copies are not for Resale).

For example, you may incorporate the Work, such as a graphic, in a brochure you design for your client. An unlimited number of copies of the brochure incorporating the Work may be made but the Work cannot be incorporated in any other application. The brochures must be distributed to recipients at no charge to the recipient.

(i) Notwithstanding the restriction on Resale, if you acquire the Work on behalf of your client you may recoup from your client the cost of acquiring the Work.

(j) If the whole, or part, of the Work has been created using materials which are the subject of a GNU General Public License (GPL), your use of the Work (or part Work) is subject to the specific terms of the GPL in place of the foregoing conditions (to the extent the GPL applies).

(Previously referred to as: Single Use, Limited Licence and Single Use No Resale Licence ["Single Use"])

Extended License

Unfortuntaly we do NOT offer an Extended License with our  products at this time. Please contact us if you want to re-sale your final product that incudes our scripts.





 

About Us

We want to make web better. We want companies easily empower their website with appealing, usable and functional web components that convert visitor to a customer. So everyone is happy.

Read more >>
 

Recent Blog Posts

WordPress Payment Terminal v3.0 update
May 7, 2013

Credit card payments for wordpress now include stripe, paymentexpress, eway and firstdata payment gateways

Read all >>
 

What our customers have to say

This was truly timesaver. I was happy to buy your Moneybookers script. Got me 15 minutes to integrate it into my order system. I really liked it, i will soon probably buy your payp...

Jane

Read all >>

After years of custom development, we decided to give a try to your booking script for an in-house project. It seemed we couldn't go wrong. We underestimated your product!. Was in...

Christian P.

Read all >>

I came across other product that do that same job before I came across Booking Wizz. The othe products took me 2-3 hours to install and configure.Your script took me only 10 mins...

Jason C. , London UK

Read all >>

I simply wanted to send a quick thanks for making such an easy to use product! I've just setup Booking Wizz for a client and absolutely loved the ease of it all. I especially lik...

Nick V.

Read all >>

I love it! It's gonna save me lots lots and lots of time, now that I no longer need custom code my booking app.  Just one suggestion...please implement a PayPal integration. ...

Rahman B.

Read all >>