||Example & Description
||M j, Y - g:i a
Date format of the uploaded
Folders to be hidden:
-- Sometimes you might want to HIDE certain folders. For
example, the folders might contain some scripts or important
server config files. Hiding these folders will prevent the
administrator from accidentally deleting important files.
Also, you might want to hide folders created by Microsoft
FrontPage Extensions that starts with "_".
-- Specify the complete folder names and/or using a wild
card * (asterisk). The example above hides all folders with
the name "controlXXXX", "XXXXbackupXXXX", "backupXXXX", "XXXXbackup"
and "_XXXX" (such as MS FrontPage folders "_vti_cnf").
Allow administrator to create
-- IMPORTANT: To enable this feature, your PHP config's "Safe_Mode"
must be turned off. This will impose certain level of security
risk to your server. By setting this to "N", the create folder
feature will not be shown. You should then create subfolders
manually using an FTP client. Default setting is "N"
administrator to delete folders?
-- Files must be emptied before a folder can be deleted.
Allow administrator to rename
Numbers of file allowed
for upload at time. If set to "3", then three file upload
fields will show up.
Allow administrator to upload files?
administrator to delete files?
Allow administrator to rename files?
||$ext_allowed_1 = "txt,htm,html,doc,xls";
$ext_allowed_2 = "gif,bmp";
$ext_allowed_3 = "pdf";
File extensions allowed:
-- Allow only files of these extensions to be uploaded. DO NOT
include JPG and PNG extensions here! Images files will be
configured separately below.
-- You can add more $ext_allowed_X where X is 1 to 99.
Delete the extra lines if not used.
IMPORTANT: These controls work in parallel with $max_allowed_X
- $ext_allowed_X works in parallel with $max_allowed_X
- I.e., $ext_allowed_1 will match with $max_allowed_1,
- $ext_allowed_2 will match with $max_allowed_2 ..... and so
-- This regulator is fixed at "Y"
for the trial version.
Allow other file extensions not
-- If you want to allow ALL extensions and only have ONE file
size limit, set $ext_others to "Y" and leave all the $ext_allowed_X
and $max_allowed_X empty.
||$max_allowed_1 = "500";
$max_allowed_2 = "250";
$max_allowed_3 = "1024";
Maxium file size allowed in Kb:
-- Note that 1,024Kb = 1Mb
-- You can add more $max_allowed_X where X is 1 to 99.
Delete the extra lines if not used.
IMPORTANT: These controls work in parallel with $ext_allowed_X
- $max_allowed_X works in parallel with $ext_allowed_X
- I.e., $max_allowed_1 will match with $ext_allowed_1,
- $max_allowed_2 will match with $ext_allowed_2 ..... and so
-- This regulator is fixed at "1024"
Kb for the trial version.
What is the maximum file size (in Kb)
allowed if $ext_others is set to "Y"?
-- The script will try to match the conditions you set for $ext_allowed_X
and $max_allowed_X before this condition is applied.
||Y - Yes, resample images
N - No, do not resample images. Upload as it is.
D - Disallow the upload of JPG and PNG images completely.
Resample JPG & PNG images (Y, N or D)?
-- If "Yes", all JPG and PNG files will be resampled using the
GD modules (during the upload) if their width or height (in
pixels) is larger than the limits below.
-- GIF images cannot be resampled due to patent issues. If
a GIF image is uploaded, it will NEVER be resampled. It will
be uploaded as it is.
|$width , $height
Width and height (in pixels) of images.
If the width OR height of the uploaded JPG or PNG image is
larger than these, the image will be resampled to suit the
limit. No resampling if original image is smaller than the
limits stated below. The $imageresample variable above must be
set to "Y" for these two limits to take effect.
Tick "Zip this
upload" checkbox by default?
-- If selected "Y", the checkbox for "Zip it!" on the
upload form will be automatically ticked by default. JPG and
PNG files will not be zipped regardless of the checkbox
-- This is disabled in the trial
Insert a header
footer template page.