Location: PHPKode > scripts > CzarNewfile > czarnewfile/readme.txt
##########################################
### 
### CzarNewfile v1.01
### Made by: Czaries  [hide@address.com]
### http://www.czaries.net/scripts/
### for more scripts and updates.
###
##########################################

# Installation
# -----------------------------------------------------------------

1. Open the script in the text editor of your choice
2. Edit the variables as prompted
	$filelim is the variable to limit how many files to display
	$checkdir is the directory your files are in, from the BASE
		  directory of your website.  (i.e. If your files are
		  located at: http://www.yoursite.com/downloads/other/
		  you would put: "/downloads/other/".  Notice that
		  the slashes are included on both the beginning and
		  the end.
	$extlim will turn extension limiting "on" or "off"
	$extarr is the array of file extensions you want included in the
	listing.  Make sure to include the beginning period (.).
	You may also edit a few table settings, as stated in the script
3. Upload the file to the directory of your choosing, and include it on
   your webpage wherever you like, via PHP's include() function.
   A common include tag would look something like:
   <? include("/home/user/public_html/path/to/script/czarnewfile.php"); ?>
   (If you don't know your ROOT path, contact your hosting provider, or
   make a PHP file with the line: <? print $DOCUMENT_ROOT; ?>)  If you
   need additional help on the include() function, check PHP's website
   at http://www.php.net.


# Troubleshooting
# -----------------------------------------------------------------

If you are getting "Permission Denied" errors, please make sure the target
directory's permissions (CHMOD) are set to 755 or higher.

If the file count is lower that the $filelim variable you set, and cuts off
sooner, it's because there are only that many files in the directory you
chose.  This file does not include itself, or any subdirectories.

If you encounter additional problems, please post your problems on my
forums, in the Scripts board.  I will try to help in any way that I can.


# License/Distribution
# -----------------------------------------------------------------

This script is distributed under the GNU public license agreement, ver 2.
The GNU License can be found here: http://www.gnu.org/licenses/gpl.html
If you modify or redistribute this script, all I ask is that you do leave
me due credit for the script, and note that it is a modified version.
Return current item: CzarNewfile