php script to output filelist of folder as json
PHP
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
data
.gitignore
README.md
index.php
licence.txt

README.md

folder2json

A very simple php script to output a filelist of a folder as json. The name, modified date and size of the file are all available in the json object.

Use

Simply add files to the 'data' sub-folder and then request the index.php file.

Credit

Inspired by an old project called sketchBox whose author I cannot find again :{, outs to you tho...

Licence

Copyright 2012-2013 Patrick Best

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.