Home « Server software «
Documentation: collections/fetch.php
collections/fetch.php - Download one file
This script provides the file, with advanced HTTP headers.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.
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:
- fetch.php/collection/path/to/file
- fetch.php?file=<collection/path/to/file>
This script is a reference file of this system.
Voir aussi:
Licence: GNU Lesser General Public License
Auteurs:
- Bernard Paques bernard.paques@bigfoot.com