Code upload

Any problem with PHP can be disscused here
Post Reply
papai
Posts: 7
Joined: Thu Mar 15, 2007 3:41 am

Code upload

Post by papai »

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


forex_199
Posts: 113
Joined: Thu Mar 22, 2007 9:00 pm
Contact:

Post by forex_199 »

this script is very nice
Lixas
Posts: 750
Joined: Wed Feb 16, 2005 4:21 pm

Post by Lixas »

in fact i'm unable to download this script. If someone will, please upload to other file hosting service and post url. Thank you
Image
anish
Posts: 353
Joined: Fri Apr 27, 2007 12:34 pm
Contact:

Post by anish »

They ^ are nice and useful too.
web_master
Posts: 202
Joined: Thu Apr 19, 2007 6:11 pm

Post by web_master »

Lixas wrote:in fact i'm unable to download this script. If someone will, please upload to other file hosting service and post url. Thank you
Had the same problem with the link unable to download the file.
Flipper3
Posts: 353
Joined: Tue Feb 28, 2006 12:34 am

Post by Flipper3 »

That script seems like a really good one, and easy to make, but sadly it doesn't download correctly. :(
ag3nt
Posts: 80
Joined: Mon Apr 30, 2007 6:57 pm

Post by ag3nt »

looks like fine thanks for sharing !
New And Crazy Member Of SmokyHosts Community

By Ag3nt
Post Reply