Skip to main content Help Control Panel

Aubagne HipHop

Tout le Hip Hop d'Aubagne et des alentours

Home «   Server software «  

Documentation: collections/browse.php

collections/browse.php - Browse a collection

This script lists directories and files available at some path of one collection.

Most files are provided for download, while some extensions (e.g., video and audio files) are redirected to the streaming script.

If the directory contains some audio files, a link is added to download a playlist that includes all audio files.

If the directory contains some image files, a link is added to a slideshow includes all images.

Optionnally, this script also read internal information for some file types, in order to enhance the provided listing. This reading is based on the getid3() library, which is loaded if it is available.

You can provide additional information to surfers for each directory by adding .header and .footer files in directories to be documented. If present, these files will be included by YACS at top and bottom of the index page, respectively.

Following files are never listed by YACS:

For authentication on protected page this script use basic HTTP authentication. This means that the anonymous surfer will have either to use the regular login page, or to provide name and password on a per-request basis.

Accept following invocations:

This script is a reference file of this system.

Voir aussi:

Licence: GNU Lesser General Public License

Auteurs:

Tools
Browse the source of this script
Server software