PHP Classes

File: usage.txt

Recommend this page to a friend!
  Classes of Bogdan Zarchievici   File Browser   usage.txt   Download  
File: usage.txt
Role: Documentation
Content type: text/plain
Description: How to use this class
Class: File Browser
Provides a Web interface to browse server files
Author: By
Last change:
Date: 19 years ago
Size: 3,306 bytes
 

Contents

Class file image Download
######################################################## ## ## ## FILE BROWSER - PHP CLASS VERSION 1.3.1 ## ## OPEN SOURCE FREE FOR NON-COMMERCIAL USE ## ## ## ## AUTHOR: BOGDAN ZARCHIEVICI ## ## ## ## LICENSED UNDER CREATIVE COMMONS ## ## ATTRIBUTION-NONCOMMERCIAL-SHAREALIKE 2.5 ## ## ## ######################################################## ######################################################## ## ## ## ABOUT: ## ## ## ## THIS PHP CLASS PROVIDES A INTERFACE TO ANY FOLDER ## ## ON YOUR SERVER. IT'S VERY USEFUL WHEN YOU WANT TO ## ## GIVE SOMEONE READONLY ACCESS TO YOUR FILES WITHOUT ## ## GIVING OUT A FTP ACCOUNT. ## ## ## ######################################################## ################################################################################ ## ## ## USAGE: ## ## ## ## INITIALIZE THE PHP CLASS: ## ## ## ## $file_browser = &new file_browser("interface","classic","demo",true); ## ## ## ## PARAMETERS: ## ## ## ## 1ST - SETS THE PATH TO THE INTERFACE FILES (IMAGES & TEMPLATES). ## ## IT IS REQUIRED. THE CLASS WILL NOT WORK WITHOUT IT. ## ## ## ## 2ND - SETS THE TEMPLATE THAT WILL BE USED FOR THE CLASS INTERFACE. ## ## IT IS REQUIRED. THE CLASS WILL NOT WORK WITHOUT IT. ## ## ## ## 3RD - SETS A CHROOT PATH - IF YOU NEED SECURITY OVER YOUR FILES. ## ## IT IS *NOT* REQUIRED. WITHOUT IT THE CLASS WILL USE THE CURRENT ## ## DIRECTORY AS A CHROOT DIR. ## ## ## ## 4TH - SETS ADVANCED FILETYPE LISTING ON/OFF. SET THIS PARAMETER TO TRUE IF ## ## YOU WANT ADVANCED FILETYPE LISTING OR SET IT TO FALSE IF YOU WANT A ## ## SIMPLE (NOT SO NICE) FILETYPE LISTING. IT IS *NOT* REQUIRED BUT IT'S ## ## SET TO TRUE BY DEFAULT. ## ## ## ################################################################################