Code upload
Posted: Thu Mar 15, 2007 7:08 am
Demo: http://www.uploadscript.net/demo/
Download: http://www.uploadscript.net/demo/downlo ... 2ba0901b4e
Install:
Edit the variables in config.php with your information
Upload all files and folders to your desired directory
CHMOD all of the .txt files to 666
CHMOD the 'storage' folder to 777
CHMOD the 'storagedata' folder to 777
CHMOD the 'urltemp' folder to 777
Installation complete! Enjoy your new file host!
To access your site: point your browser to index.php in your install directory.
To access your admin control panel: point your browser to admin.php in your install directory. The first time you access your admin control panel, you will be asked to enter and set a password. You will be able to change the password in your control panel (the password is encrypted and stored in a file called password.txt, If you ever forget your password simply delete this file).
For technical support please see our Support Page.
How to customize:
To edit the page layouts, modify:
header.php
pages/upload.php
pages/faq.php
pages/tos.php
pages/topten.php
Edit images in the /images folder
To insert your own advertisements, edit the file ads.html
Upload a skin to change the look of your upload site (available full license users only).
Features:
You control the following settings in config.php:
maximum file size
time limit between downloads
file expiry time
download countdown timer
enable/disable files list
# files displayed per page in files list
enable/disable top10 list
enable/disable emailing option
allowable file types (optional)
In admin panel you have the following functions:
view bandwidth usage (estimated)
view and/or delete files reported as illegal
delete files (any file)
delete expired files
ban any file or IP address
change your password
file checking system to ensure for every file in the "storage" folder there is a matching data file in the "storagedata" folder.
Modifications:
The following mods will be available:
members area: this will allow a free as well as a paid area for your users (members will have more priveleges)
image hosting mod: this will allow you to run an image hosting site modelled after popular sites like imageshack
descriptions: will allow users to enter a description when uploading a file.
multiple email: will allow users to enter multiple email addresses to send the download link to
Notes:
On most web hosts the maximum upload filesize (set in a file called php.ini) is set to 2MB. If your maximum filesize is greater than this limit, your users will receive the following error message:
"You didn't pick a file to upload."
There are 3 methods to change your host's maximum allowed upload filesize:
Edit the following 2 variables in your php.ini file:
UPLOAD_MAX_SIZE
POST_MAX_SIZE
You will need root server access to edit your php.ini file, or you can ask your host to do it for you.
You can obtain a copy of your php.ini file from your host, and edit the 2 values described above. Then simply place your copy of php.ini in your local directory (where you installed Uploadscript).
Add the following 2 lines in your .htaccess file:
php_value upload_max_filesize 50M
php_value post_max_size 50M
The examples above are set to 50MB. This is the easiest and most preferred method
Download: http://www.uploadscript.net/demo/downlo ... 2ba0901b4e
Install:
Edit the variables in config.php with your information
Upload all files and folders to your desired directory
CHMOD all of the .txt files to 666
CHMOD the 'storage' folder to 777
CHMOD the 'storagedata' folder to 777
CHMOD the 'urltemp' folder to 777
Installation complete! Enjoy your new file host!
To access your site: point your browser to index.php in your install directory.
To access your admin control panel: point your browser to admin.php in your install directory. The first time you access your admin control panel, you will be asked to enter and set a password. You will be able to change the password in your control panel (the password is encrypted and stored in a file called password.txt, If you ever forget your password simply delete this file).
For technical support please see our Support Page.
How to customize:
To edit the page layouts, modify:
header.php
pages/upload.php
pages/faq.php
pages/tos.php
pages/topten.php
Edit images in the /images folder
To insert your own advertisements, edit the file ads.html
Upload a skin to change the look of your upload site (available full license users only).
Features:
You control the following settings in config.php:
maximum file size
time limit between downloads
file expiry time
download countdown timer
enable/disable files list
# files displayed per page in files list
enable/disable top10 list
enable/disable emailing option
allowable file types (optional)
In admin panel you have the following functions:
view bandwidth usage (estimated)
view and/or delete files reported as illegal
delete files (any file)
delete expired files
ban any file or IP address
change your password
file checking system to ensure for every file in the "storage" folder there is a matching data file in the "storagedata" folder.
Modifications:
The following mods will be available:
members area: this will allow a free as well as a paid area for your users (members will have more priveleges)
image hosting mod: this will allow you to run an image hosting site modelled after popular sites like imageshack
descriptions: will allow users to enter a description when uploading a file.
multiple email: will allow users to enter multiple email addresses to send the download link to
Notes:
On most web hosts the maximum upload filesize (set in a file called php.ini) is set to 2MB. If your maximum filesize is greater than this limit, your users will receive the following error message:
"You didn't pick a file to upload."
There are 3 methods to change your host's maximum allowed upload filesize:
Edit the following 2 variables in your php.ini file:
UPLOAD_MAX_SIZE
POST_MAX_SIZE
You will need root server access to edit your php.ini file, or you can ask your host to do it for you.
You can obtain a copy of your php.ini file from your host, and edit the 2 values described above. Then simply place your copy of php.ini in your local directory (where you installed Uploadscript).
Add the following 2 lines in your .htaccess file:
php_value upload_max_filesize 50M
php_value post_max_size 50M
The examples above are set to 50MB. This is the easiest and most preferred method