Spanish and Catalan thanks to Albert LOMBARTE.The internationalization effort has just began.
#WEB BASED FILE BROWSER CODE#
Reorganization of the code and added commentsįeel free to send me any feature request.Identified features that will be soon develloped : None reported on current version for the moment. It should work with other W3C compliant browsers, if not tell me what goes wrong ! WebFileBrowser have been tested on Internet Explorer 6.0, Netscape 4.75 and Netscape 7.0.
![web based file browser web based file browser](https://lh4.ggpht.com/_zffIzal5cfI/ShVZCCPCHYI/AAAAAAAAEGM/bw9BGLNEE-A/eXtplorer--PHP-and-JavaScri[7].jpg)
You can customize its name using $trashcan. This directory (located in the base directory) must exists and be writeable, When you delete a file Web File Browser just move it into the trash can directory. In that case remeber to set $filemode to 0664 and $dirmode to 0775.Īnd keep in mind that only URL explicitely pointing to a file (such as can be URL-uploaded.Ĭustomize $hidefilepattern so as it contains a regular expression matching the name of the files you want to hide.Īn example is given is the source to hide dot files. Second, if you run your PHP-enabled web server under UNIX, uploaded files (and created files/directories) are created under the ownership of the UNIX user that runs your webserver.Īs the PHP function chown() does not work unless this user is root (which is obviously a bad idea) it is not possible to chown files to another user after creation.Ī simple workaround is to chown/chgrp your directories to the webbrowser user/group,Īnother workaround is to add the webbrowser group to the secondary groups of the user owner of the directories (that's what I do).htaccess file like this :įile upload does not work, what's wrong ?Īnd verify that the value in $uploadmaxsize variable is the same as this value (for istance 2M means 2 megabytes = 2097152 bytes) You can also rely on your web server for authentication.įor instance with Apache you can setup a. Web file browser includes a builtin authentication (look at the source) but you *must* run PHP as a module in order to be able to turn it on. Give an eye to the source to see all options. Customize list of extensions that allow files to be edited.Web File Browser allows you to customize certain features such as : Warning for users of previous versions : some default settings have changed, check them carefully ! If you have just unziped the package and if this page is served by a PHP enabled web server : Start your favorite Web Browser and point to. Look at the source for optional customization. Give any name to this file (it will remain invisible anyway) : wfb.php for instance.
#WEB BASED FILE BROWSER DOWNLOAD#
To download current version 0.4b14 (still beta) go to Web File Browser's download page at SourceForge.Ĭopy the webFileBrowser.php file to your target directory in your web server's document root. Web File Browser's project page at SourceForge is here.
![web based file browser web based file browser](http://techattitude.com/wp-content/uploads/2009/01/filemanager.jpg)
Thru a light, full-text, web-based interface Web File Browser is a simple open-source file browser written in PHP (1 single file) thatĪllows users to create, delete, edit, copy, rename, move and upload files and directories