PHP Classes

File Browser: Provides a Web interface to browse server files

Recommend this page to a friend!
  Info   View files View files (5)   DownloadInstall with Composer Download .zip   Reputation   Support forum (3)   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStarStar 62%Total: 5,190 All time: 509 This week: 59Up
Version License Categories
file-browser 1.0.0Free for non-comm...Files and Folders, Content management
Description 

Author

This class can be used to browse files available on the serve side using a Web interface.

It lets the users browser directories below a given root directory. The users may click on links to browse any sub-directory below the root directory.

The class generates an HTML listing of all files and folders in the currently browsed directory.

It displays icons near each directory entry as well the entry type and last updated date. For files it also shows the file size.

Picture of Bogdan Zarchievici
Name: Bogdan Zarchievici <contact>
Classes: 6 packages by
Country: Romania Romania
Age: 39
All time rank: 2176 in Romania Romania
Week rank: 74 Up3 in Romania Romania Up

Details

######################################################## ## ## ## 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. ## ## ## ################################################################################ ######################################################## ## ## ## UPCOMING FEATURES ## ## ## ## * SEARCH AND ADVANCED SEARCH OPTIONS. THIS WILL ## ## ALSO INCLUDE SEARCHING IN FILE CONTENTS. ## ## ## ## * SMALLER FILETYPE CODE. ## ## ## ## * MULTIPLE NAVIGATION OPTIONS LIKE JAVASCRIPT AND ## ## COOKIES. IF YOU WANT TO KNOW WHAT I MEAN IMAGINE ## ## THAT THE $_GET['DIR'] VARIABLE WILL STAY INSIDE ## ## A COOKIE (THAT WILL ALSO CONTAIN YOU FILTERS AND ## ## BROWSING PREFERENCES). ## ## ## ## * SORTING: BY TITLE, TYPE, SIZES OR DATES. ## ## ## ## * OPTIONS LIKE MOVING A FILE OR A FOLDER, COPYING ## ## A FILE OR A FOLDER, DELETING, RENAMING AND DOWN- ## ## LOADING. ## ## ## ## * ALSO I WANT TO INCLUDE HTMLAREA AS A DEFAULT ## ## ONLINE HTML EDITOR WITH SYNTAX EDITING. ## ## ## ######################################################## ######################################################## ## ## ## SPECIAL THANKS: ## ## ## ## I WOULD REALLY LIKE TO THANK YOU ALL FOR USING OR ## ## BEING INTERESTED IN THIS CLASS. YOUR SUPPORT HAS ## ## BEEN REALLY GREAT. THANKS! ## ## ## ######################################################## ######################################################## ## ## ## CONTACT: ## ## ## ## PLEASE USE THE FOLLOWING E-MAIL ADDRESS IN CASE ## ## YOU FIND ANY BUGS. ALSO, FEEL FREE TO CONTACT ME ## ## IF YOU NEED ANY HELP SETTING UP THIS CLASS. ## ## ## ## IF YOU USE THIS CLASS IN YOUR PHP PROJECT OR ON ## ## YOUR WEBSITE, PLEASE DROP ME A MESSAGE AND TELL ME ## ## THE LINK TO YOUR WEBSITE SO I CAN PUT IT ON MY ## ## WEBSITE. ## ## ## ## xy.bogdan@gmail.com ## ## ## ########################################################

  Files folder image Files  
File Role Description
Files folder imageinterface (1 file)
Accessible without login Plain text file example.php Example Example
Plain text file file-browser.php Class Class
Accessible without login Plain text file readme.txt Doc. Readme
Accessible without login Plain text file usage.txt Doc. How to use this class

  Files folder image Files  /  interface  
File Role Description
  Accessible without login Plain text file template-elementary.php Aux. Elementary Template

 Version Control Unique User Downloads Download Rankings  
 0%
Total:5,190
This week:0
All time:509
This week:59Up
User Ratings User Comments (1)
 All time
Utility:81%StarStarStarStarStar
Consistency:68%StarStarStarStar
Documentation:70%StarStarStarStar
Examples:81%StarStarStarStarStar
Tests:-
Videos:-
Overall:62%StarStarStarStar
Rank:882
 
very nice presentation Good documents.
15 years ago (vadivel)
80%StarStarStarStarStar