| Client Setup |
| Variables |
Defination |
|
$Save_Folder
|
# Root folder all uploaded files will be written to
# Must be complete path
# For UNIX: must be set to 777
# DO NOT USE TRAILING SLASH
|
|
$Chmod_Perl
|
# For perl files, do you want to chmod them to 755?
# May not work on all systems
# Not necessary for Windows servers.
# 1 = yes 0 = no
|
|
$Chmod_Others
|
# To set other files to 666 rw-rw-rw
# 1 = yes 0 = no
|
|
$Auth_Key
|
# Setup an encryption key below for authentication
# this can be any length and make it cryptic.
# DO NOT USE DOLLAR SIGN, QUESTION MARK OR QUOTES,
# OR A PIPE (|) Character.
# Use numbers and mostly lower case letters.
# Allowed Special Characters: ^ * ! [ ] ~ @ # % :
|
|
$RJ_UPLD_Default_Folder
|
# Default folder to start in on users machine
# Must be CAPITAL LETTER -> C:/ or D:/ etc.
# Can also be path -> C:/My+Documents/My+Pictures
# Replace any spaces with +
|
|
$RJ_UPLD_Allowed_File_Types
|
# Set the Allowed File Types Below
# I = all image types.
# H = HTML files only
# IH = all images + HTML
# A = all file types
# A-E = all files except executables - exe, bat, etc.
# A-E-S = no executables and no system files.
# SP = specify file types. Use colon : between types
# FORMAT -> SP<>gif:jpg:jpeg
|
|
$TextFiles
|
# List all text files
# this is to set the script to remove the
# returns ^M - html, htm, txt, etc.
# Must use the dot
# $TextFiles = ".txt^.htm^.html";
|
|
$AllowedImages
|
# List all images allowed to be uploaded
# Must use the dot
# Put a colon (:) between file types
# $AllowedImages = ".gif:.jpg:.jpeg:.png";
|
|
$RJ_UPLD_Upload_Type
|
# Upload Type - Radio Buttons or Checkboxes
# on client select file/s screen
# C = Multi-File-Uploads
# R = Single-File-Upload
|
|
$RJ_UPLD_Max_Size
|
# Set the Maximum size of the file that can be
# Uploaded. for 50K - enter 50000
# for 1Mb - enter 1000000
|
|
$RJ_UPLD_Allow_SUB_Dir
|
# If you want your user to be able to upload
# files to their sub-directories, set the variable
# to '1' below. 0 = no
# This will find sub dirs to 3 levels deep
# /userfolder/sub1/sub2/sub3
# All uploadable Folders must be set to chmod 777
|
|
$RJ_UPLD_SPECIFY_SUB_Dirs
|
# If you only want your users to be able to upload
# to certain sub-folders, enter them below
# Use ^ between folders
# Leave blank to auto-detect user sub-folders
# Or comment out to auto-detect user sub-folders
|
|
$RJ_UPLD_Return
|
# Program to handle the upload on your server
|
|
$StyleSheet
|
# Enter web address for the style sheet
|
|
$RJ_UPLD_Field1_Value
|
# Return Field1 Value
|
|
$RJ_UPLD_Field1_Name
|
# Return Field1 Name
|
|
$RJ_UPLD_Field2_Value
|
# Return Field2 Value
|
|
$RJ_UPLD_Field2_Name
|
# Return Field2 Name
|
|
$RJ_UPLD_Thumb
|
# Specify Max. Size of thumbnail image
# and the filename addition
# Size is width^height
# 90^90^-t
# 90 x 90 px ... add -t to the filename
# Leave blank or comment out for no resize
|
|
$RJ_UPLD_Resize2
|
# Specify Max. Size of the image
# and the filename addition
# Size is width^height
# 200^200^-2
# 200 x 200 px ... add -2 to the filename
# Leave blank or comment out for no resize
|
|
$RJ_UPLD_Orig
|
# If you want the original size image uploaded
# set the variable below to '1' 0 = no
# Only applies of you are using resize above.
|