[ Index ]

PHP Cross Reference of DokuWiki

title

Body

[close]

/lib/exe/ -> fetch.php (summary)

DokuWiki media passthrough file

Author: Andreas Gohr
License: GPL 2 (http://www.gnu.org/licenses/gpl.html)
File Size: 224 lines (7 kb)
Included or required:0 times
Referenced: 3 times
Includes or requires: 6 files
 inc/pageutils.php
 inc/auth.php
 inc/init.php
 inc/confutils.php
 inc/media.php
 inc/common.php

Defines 3 functions

  sendFile()
  http_rangeRequest()
  calc_cache()

Functions
Functions that are not part of a class:

sendFile($file,$mime,$cache)   X-Ref
Set headers and send the file to the client

author: Andreas Gohr <andi@splitbrain.org>
author: Ben Coburn <btcoburn@silicodon.net>

http_rangeRequest($size)   X-Ref
Checks and sets headers to handle range requets

returns: array The start byte and the amount of bytes to send
author: Andreas Gohr <andi@splitbrain.org>

calc_cache($cache)   X-Ref
Returns the wanted cachetime in seconds

Resolves named constants

author: Andreas Gohr <andi@splitbrain.org>



Generated: Fri Nov 21 01:30:02 2008 Cross-referenced by PHPXref 0.7