base_dir/ReadMe.md 0000755 0000000 0000000 00000054376 14516715674 011235 0 ustar
AutoIndex PHP Script (version 2.4.5-pl7 based on version 2.2.5) -
Help File http://autoindex.sourceforge.net/ AutoIndex DEMO: See PHP VERSION on Footer of the index page. https://mxpcms.sourceforge.net/pub/ http://github.com/BeitDina/AutoIndex/ To install and run the script, simply upload the
contents of this directory to a server with PHP support (Works with all
versions of PHP5 and PHP7.1, PHP7.2, PHP7.3, PHP7.4). Demo at: http://beitdina.net/aleppo/ Information about the use of each variable is in this file.
base_dir is the folder
that will be the root of the directory listing.
If you're using an absolute path, you'll need to set force_download to TRUE (this is not recommended, though. It is better to use a path relative to the php script).
icon_path is the path to
the icons. Don't put a slash at the end.
stylesheet is the path
and filename of your css stylesheet.
Optional Variables :
If allow_uploads is set
to TRUE, people will be able to upload files to your website. (Default:
FALSE) username: admin
user_list contains the
path to the text file where the usernames and encrypted passwords are
stored.
If allow_file_overwrites
is set to TRUE, when uploading a file that already exists, the file
will be replaced. (Default: FALSE)
If must_login_to_download
is set to TRUE, users must login before they will see the list of
files. (Default: FALSE)
banned_list contains the
path to the text file where blocked IP addresses and/or hostnames are
stored.
If sub_folder_access is set to FALSE, folders will not be shown. (Default: TRUE)
index: Leave this blank unless you use
php includes on your webpage.
The include in your index file should look something like this: $valid = array('home', 'page1', 'page2');
hidden_files contains an
array of strings.
show_only_these_files
contains an array of strings.
force_download should be
set to TRUE or FALSE. (Default: FALSE)
bandwidth_limit is set to
the max download speed (per client) in KB/s. 0 will turn it off.
anti_leech should be set
to TRUE or FALSE. (Default: FALSE)
enable_searching should
be set to TRUE or FALSE. (Default: TRUE)
The log_file contains the
full path to the file to write the access log.
dont_log_these_ips
contains an array of strings (which are IP addresses).
download_count contains a
string which is the filename of the file to keep track of how many
times files have been downloaded.
links_file contains the
path to a text file with the URL of files that you want to be listed as
links.
http://autoindex.sourceforge.net|Main Site If no link description is present, the link itself will
be displayed.
description_file contains
the path to a text file with descriptions for files.
show_dir_size should be
set to TRUE or FALSE. (Default: TRUE)
folder_expansion should
be set to TRUE or FALSE. (Default: FALSE)
show_folder_count should
be set to TRUE or FALSE. (Default: FALSE)
header and footer
are the paths to 2 files.
header_per_folder and footer_per_folder
should be set to TRUE or FALSE. (Default: FALSE)
days_new contains the
number of days old a file can be and still have [New] written next to
it. (Default: 0)
md5_show is a feature
that will let users get the md5sum of a specific file. (Default:
0)
thumbnail_height is a
feature that will show thumbnails next to images. (NOTE: GDlib 2.0.1 or
higher is required)
show_type_column, show_size_column,
and show_date_column are set to TRUE or
FALSE. Language Settings:
path_to_language_files is
the path where the *.php language files are located.
If select_language is set
to TRUE, there will be an option at the bottom of the script for Folder Flag Settings:
path_to_flag_files is
the path where the *.png language flag images are located.
If select_language is set
to TRUE, there will be an option at the bottom of the script for |
AutoIndex PHP Script (version 2.2.5) -
Help File http://autoindex.sourceforge.net/ http://github.com/BeitDina/AutoIndex/ To install and run the script, simply upload the
contents of this directory to a server with PHP support (Works with all
versions of PHP5 and PHP7.1).
base_dir is the folder
that will be the root of the directory listing.
If you're using an absolute path, you'll need to set force_download to TRUE (this is not recommended, though. It is better to use a path relative to the php script).
icon_path is the path to
the icons. Don't put a slash at the end.
stylesheet is the path
and filename of your css stylesheet.
Optional Variables :
If allow_uploads is set
to TRUE, people will be able to upload files to your website. (Default:
FALSE) username: admin
user_list contains the
path to the text file where the usernames and encrypted passwords are
stored.
If allow_file_overwrites
is set to TRUE, when uploading a file that already exists, the file
will be replaced. (Default: FALSE)
If must_login_to_download
is set to TRUE, users must login before they will see the list of
files. (Default: FALSE)
banned_list contains the
path to the text file where blocked IP addresses and/or hostnames are
stored.
If sub_folder_access is set to FALSE, folders will not be shown. (Default: TRUE)
index: Leave this blank unless you use
php includes on your webpage.
The include in your index file should look something like this: $valid = array('home', 'page1', 'page2');
hidden_files contains an
array of strings.
show_only_these_files
contains an array of strings.
force_download should be
set to TRUE or FALSE. (Default: FALSE)
bandwidth_limit is set to
the max download speed (per client) in KB/s. 0 will turn it off.
anti_leech should be set
to TRUE or FALSE. (Default: FALSE)
enable_searching should
be set to TRUE or FALSE. (Default: TRUE)
The log_file contains the
full path to the file to write the access log.
dont_log_these_ips
contains an array of strings (which are IP addresses).
download_count contains a
string which is the filename of the file to keep track of how many
times files have been downloaded.
links_file contains the
path to a text file with the URL of files that you want to be listed as
links.
http://autoindex.sourceforge.net|Main Site If no link description is present, the link itself will
be displayed.
description_file contains
the path to a text file with descriptions for files.
show_dir_size should be
set to TRUE or FALSE. (Default: TRUE)
folder_expansion should
be set to TRUE or FALSE. (Default: FALSE)
show_folder_count should
be set to TRUE or FALSE. (Default: FALSE)
header and footer
are the paths to 2 files.
header_per_folder and footer_per_folder
should be set to TRUE or FALSE. (Default: FALSE)
days_new contains the
number of days old a file can be and still have [New] written next to
it. (Default: 0)
md5_show is a feature
that will let users get the md5sum of a specific file. (Default:
0)
thumbnail_height is a
feature that will show thumbnails next to images. (NOTE: GDlib 2.0.1 or
higher is required)
show_type_column, show_size_column,
and show_date_column are set to TRUE or
FALSE. Language Settings:
path_to_language_files is
the path where the *.php language files are located.
If select_language is set
to TRUE, there will be an option at the bottom of the script for Folder Flag Settings:
path_to_flag_files is
the path where the *.png language flag images are located.
If select_language is set
to TRUE, there will be an option at the bottom of the script for |