File Hosting Script
This PHP5 site script enables you to setup and manage a file hosting website. Try the demo here or buy now.
It comes with a full admin area for managing the site, a modern multi-file upload interface, user registration & members area, premium upgrades via PayPal, easy advert integration and much more. See below for all the features.
Upload Files:
- Multi-file uploader with progress.
- NEW! Percentage progress, size remaining, upload speed and time remaining. (support browsers only)
- Drag & Drop into the browser to begin uploading. (Firefox & Chrome)
- Copy all files to the clipboard link.
- Uploads are assigned a short url to the download.
- Premium account upgrade option via PayPal, managed automatically.
- NEW! Support for multiple file servers.
- File information page with the following:
- Full path to the image.
- HTML code to directly copy into a website.
- Forum code to directly copy into a forum.
- Link to statistics for the file.
- Link to remove the file.
- Links to share with common social media sites; Facebook, Twitter etc.
- Link to share via email.
User Registration:
- User registration & members area. Users can create an account and manage all their files in one place.
Account Types:
- Free User:
- Has to wait for file download. Attempts to get user to register on the site. (configurable)
- Download speed restricted to 15kbps. (configurable)
- Inactive downloads are only kept for 60 days. (configurable)
- Maximum upload filesize of 100MB. (configurable)
- Paid User:
- No wait for downloads. (configurable)
- No restrictions on the download speed. (configurable)
- Inactive downloads are kept for as long as they have a paid account (configurable)
- Maximum upload filesize of 1GB. (configurable)
- Admin User:
- As with the paid user but has access to the admin area.
Statistics:
- File statistics:
- Daily, weekly, monthly downloads.
- Referring sites.
- Visiting countries.
- Visiting browsers.
- Visiting operating systems.
Security:
- IP blacklisting - block IP addresses from using the site.
- File type blacklisting - ban certain types of files from being uploaded.
- Spam protection - Set minimum time between submissions.
- Spam protection - Set maximum files a user can upload per day.
- Report file pages.
- Support for https.
- Externally tested for XSS and SQL injection attacks.
Social Network Sharing:
- Social networking icons to share uploaded files on Twitter, Facebook, Email & more.
Translations:
- Multiple language support.
- Manage any text content on the site via the admin area.
- Translation admin tools so the site can be used in most languages.
- Translation debugging tools.
Earn Money:
- Charge for account upgrades. Fully integrated with PayPals automated IPN functionality.
- Easy Ads - Use the admin interface to easily integrate your banner ads or Google Adsense code.
Plugins:
- Further extend the core script with optional plugins:
- Rewards Plugin
- Media Player Plugin
- Newsletter Plugin
- Other Payment Gateway Plugins
- See our dedicated file hosting site for more information on plugins:
Admin Area:
- Admin area:
- Dashboard detailing downloads and active files.
- Search files.
- Disable files.
- Manage users and filter by user files.
- Manage blocked IPs.
- Manage site settings.
- Set and manage file servers.
- Configure to use specific file server or the one with most space.
- Set template.
- Set paid account rates, period and currency.
- Amend account expiry date.
- Set PayPal email address for site payments.
- Set free/paid user account settings:
- File download speed.
- Days to keep inactive files.
- Maximum upload filesize.
- Delay time on download.
- Option to set the filename on the download url.
- Option to use a different file url than the main site.
- Set banner ad/advert code.
- Modern Ajax interface.
Customisations:
- Written for PHP5.2+.
- 100% full source code.
- Easy installation.
- Fully customisable.
- Modern template. (easily customise and create additional ones)
- Simple, clean, ajax style look and feel.
You can view the front-end live demonstration by clicking on the following link:
Front: http://fhscript.com/
The admin area live demonstration can be seen here:
Admin: http://fhscript.com/admin/ (user: admin, pass: password)
Support:
All our scripts come with the following:
- Support via email for 1 year.
- Upgrades, patches, bug fixes for 1 year.
- Unlimited access to the support forum.
- Proactive release process.
- Contact us with any questions.
Script Requirements:
- PHP 5.2+
- MySQL.
- Apache ModRewrite Module.
- FTP module in PHP for remote server support.
- Hosting Test Script - Use this free PHP script to check if your hosting meets the script requirements.
v3.2 - Minor release. Moved PayPal to plugin architecture and changes for new FTP plugin.
- Moved PayPal gateway to plugin architecture so it can be disabled if needed.
- Minor change to wrap long file names within 'your files'.
- Changes to allow for FTP Upload Plugin.
New Plugins: (see yetishare.com for pricing)
- FTP Upload Plugin
v3.11 - Minor release to allow for media player plugin.
- Minor file change to allow for media streaming plugin.
- Only the following files have been changed on this release:
- includes/class.file.php
- file_download.php
New Plugins: (see yetishare.com for pricing)
- Media Player Plugin
v3.1 - Remote upload, new configuration options, other minor improvements.
- Remote url upload functionality added to home page. Supports http, https and ftp urls.
- Minor change to not count admin area file downloads in stats.
- Allowed 'delayed redirect seconds' to be zero so free users can be configured for direct downloads.
- Option in admin area to require users to register before uploading.
- Option in admin area to require users to register before downloading.
- Option in admin area to set the type of file url to create on upload. Shortest or long random hash.
- Option in admin area to set maximum file download size for free/non users.
- Option in admin area to set maximum concurrent downloads for free/non users.
- Admin area option to delete a file server and all associated files.
- Display 404 page instead of redirecting to index page when a file url is invalid.
- Minor improvement on live download tracking under heavy traffic loads. No longer keeps database connections open during downloads.
- Minor bug fix on current downloads page in admin area.
- Added IP address of uploader to admin file manage screen for non-logged in users.
- Minor fix in admin area to correctly display TB sizes on file server manager.
- Minor change to public folder listing. If owner of folder is logged in, the password prompt is not displayed.
- Added better support for plugin zip extract via admin area using pclzip. Resolves occasional 500 error.
- Better formatting in Chrome for dialog popups in the admin area.
New Plugins: (see yetishare.com for pricing)
- Newsletter Plugin
v3.0 - Admin Area Redesign, Plugin Framework, Download Resuming/HTTP Auth, Minor Big Fixes
- Admin area redesign.
- Plugin architecture added to the admin area and core codebase.
- In the admin area, it now displays which user uploaded the file.
- Better flow from file countdown, to register, payment & upgrade.
- Added HTTP auth support for download managers.
- Better support for resuming downloads using both local and ftp storage.
- Support for chunking in download managers.
- New admin area page to view currently active downloads.
- Site language chooser. Option in admin 'site settings' to show or hide.
- Improved admin functions to manage translations.
- Site email content moved into translations. i.e. registration, forgot password & report file notifications.
- Database indexes set to improve performance with larger datasets.
- Database logging of which files result in paid upgrades. Available within the 'premium_order' table.
- Logging into a premium account when on the file countdown page redirects back to the file page. Results in immediate download for premium accounts or upgrade for other.
- Better error reporting on multi uploader.
- Admin area check & notification for tmp folder size.
- Admin area option to set reason for file removal and logging of original DMCA removal request text.
- Minor bug fix with payment process to PayPal when using other currencies.
- Converted members area file listing to ajax for better performance.
- Additional filters added to members area file listing (folder & status). Default file listing status is now 'active'.
- The right-hand 'your files' widget now only displays non-account files by the same IP if the user isn't logged in.
- Bug fix which permitted usernames with spaces.
- Sanity checked and added a number of missing text translations.
New Plugins: (see yetishare.com for pricing)
- Rewards Program.
v2.1 - Folders, Forgot Password, Captcha, Minor Bug Fixes.
- Added folder management.
- After file upload, option to set folder.
- Set folder public or private.
- Set password on folder.
- Show files in folder listing page. (for public folders)
- Added edit file details page.
- Reset forgotten password pages.
- Edit account email, name & password page.
- Optional captcha after download counter for free users.
- Improved download streaming when using remote ftp file servers.
- Removed inaccurate upload progress text when using IE.
- Moved homepage 'benefits' text into translations.
- On homepage upload, prevented the results box from being closed when clicking any of the rows.
- Added docx icon into file upload types.
- Added secure phpinfo page within admin area to aid with debugging.
- Removed admin area navigation if not logged in.
- Improved admin login form style.
- Fixed issue with editing ftp port on file server management.
- Minor bug fix. In some instances, uploaded files might not be completely removed when deleted by admin.
- Added check for php ftp functions within admin 'test ftp' page.
- Fix on "Admin Users" & "File Servers" for the sorting of "total space used" and "total files".
v2.01 - Minor Bug Fixes
- Removed database password from displaying if there's an error with database connectivity.
- Fixed filtering within admin area.
- Fixed csv export within admin area.
- Minor bug fix with account expiry date not updating via admin edit user.
v2.0 - Multiple File Server Support
- View/amend account paid expiry date within admin area.
- Added filesize when browsing files admin area.
- Added filesize in user file manager.
- More detail on file uploader. Percentage progress, filesize progress, upload speed and time remaining. (Chrome & Firefox only)
- Option in admin area to show original filename on end of file url.
- Option to set different download site address to main site. Set downloads from a different domain.
- Support for https.
- Improved countdown timer page. More information about the benefits of registering for a paid account inc estimated download time.
- Support for multiple file servers via FTP.
- New admin page to configure file servers.
- Test file server page.
- Admin area option to use a specific file server or automatically select the one with least space used.
- Added 'filter by server' option on 'manage files' in admin area.
- Added 'filter by user' option on 'manage files' in admin area.
- Added link to 'manage users' to view user uploaded files.
- Added total space used and total active files to 'manage users' in admin area.
- Added link to admin area on main site if logged in as admin user.
v1.06 - Minor bug fixes
- Removed the ability to bypass the countdown by refreshing on the countdown timer page.
- Fixed minor character issues within the admin settings page.
v1.05 - Minor bug fixes
- Fixed issue which could mean paid users see the countdown timer when downloading a file.
- Fixed issue which meant the countdown wasn't displayed for free users when clicking on links in the 'your files' section.
v1.04 - Minor bug fixes
- Added the ability to specify smtp settings for sending site emails.
- Fixed filesize bug using IE to upload.
- Fixed issue where entries are sometimes created in the database on upload failure.
- Better compatibility with Safari browser.
v1.03 - Large download bug fix - On some servers larger downloads could produce 500 errors. Resolved in this release.
v1.02 - Minor bug fixes
- Minor bug fix to limit maximum days value for redundant file deletion.
- Missing 'unknown' translation on stats pages.
- Minor bug fix to block file upload attempts without names and with zero size.
- Added check for referrer on file upload script.
v1.01 - Minor bug fixes
- Fixed possible XXS issues within login and registration forms.
- Minor spelling corrections.
v1.0 - Initial Release - Script initially released for purchase & download on MFScripts.com.
Purchase Script: (single domain license)
- Total cost: $49.00. [buy now]
- No recurring costs. One off payment.
- No extra costs to remove copyright links.
- Payment made securely using https via PayPal.
- Optional script installation at $39.00 with free web hosting.
Purchase Unlimited Domain License: (owned domains only, non-reseller)
- Total cost: $159.00. [buy now]
- License to install on unlimited owned domains.
- Non-Reseller - a reseller agreement is not included.
- Free installation on first domain if requested within 28 days of purchase.
- Full source code.
- Any questions? Feel free contact us .














