doc.php is a PHP application that mimics a file explorer. Using html5 to display audio and video and PHP markdown by Michel Fortin to parse these files into a simple but interactive file browser.
A live example is available here
doc.php was created by @makepanic.
.info
files inside the filemanagerindex.php
, config.php
and the lib
folder on your php enabled serverdocphp
pdf
Portable Document Format via embed objectwav,mp3,ogg
Using html5 audio with a inline player that checks for compatibilityphp,js,java,vb,cs,html,css
Display the code with pre and escape html charsjpg,jpeg,gif,png,apng,bmp
Display imagesmp4,wma,webm,ogv
Display a html5 video playeropen config.php
and modify the define() commands if you want
DOC_TITLE: default: 'doc.php'
this string sets the title of the navigation bar
ROOT_DIR: default: 'raw'
this string sets the root folder for your docphp presentation
MAX_NAV : default: '4'
maximum number of breadcrumbs to display in the top navigation
SHORTEN_NAV: default: '15'
maximum number of characters in the top navigation per folder
THEME: default: 'light'
this string sets the title of the navigation bar
choose between 'dark' and 'light'
SHOW_EXTENSIONS: default: 'false'
enable if you want to display file extensions
HTACCESS: default: 'false'
enable if you want to use a .htaccess file for cleaner urls