View Single Post
ישן 05-02-07, 19:11   # 22
MusicMan
חבר על
 
מיני פרופיל
תאריך הצטרפות: Oct 2006
הודעות: 834

MusicMan לא מחובר  

והנה הוראות ההתקנה
Hello and welcome to Upload Files System.
This system was written by:
http://www.iguildes.net

First upload the system to your own website.
You have to set the directory ./uploads to CHMOD 0777 and then you can change the file ./sources/config.php as you want.
Here you can find a guide how to edit config.php file

requirement
~~~~~~~~~~~
Server which supports PHP 4 +
To know how to change CHMOD of a directory

// ################################################## ###########################
// ################################################## ###########################
// ################################################## ###########################

Configuration File (./sources/config.php)
~~~~~~~~~~~~~~~~~~~~~~~~~~
Here is guide which shows you how to edit config.php which is the configuration file of the system.

// ################################################## ###########################
$config['lang'] = "en";
This file is located in ./lang/ directory
// ################################################## ###########################
$config['tpl'] = "default_".$config['lang'];
DO NOT TOUCH // becomes with the language file
// ################################################## ###########################
$config['max_mb'] = 1;
Maximum file size to upload in MegaBytes
// ################################################## ###########################
$config['upload_inputname'] = "filetoupload";
It doesn't matter what you write here. You can leave it.
// ################################################## ###########################
$config['upload_dir'] = "./uploads/";
It is the directory of the files will be uploaded to.
// ################################################## ###########################
$config['limit_file_type'] = 1;
If you want to make limit to the files type write 1. if not, write 0.
// ################################################## ###########################
$config['allowed_files_type'] = array('gif','jpg','pjpg','pjpeg','jpeg','png');
If you chose 1 in the line before, here you can edit the types which will be can
Upload to the system.
// ################################################## ###########################

That's it!
Have a nice Upload System.
ועשיתי ככה...
  Reply With Quote