phpDocumentor pond
[ class tree: pond ] [ index: pond ] [ all elements ]

Procedural File: getfile.php

Source Location: /qp_srvc/getfile.php

Page Details

This file implements the File view (including resizing of images)

This file is part of Quam Plures - See also

Author:  blueyed: Daniel HAHLER
Author:  fplanque: Francois PLANQUE.
Author:  mbruneau: Marc BRUNEAU / PROGIDISTRI

(c)2003-2009 by Francois PLANQUE - Parts of this file are copyright (c)2005-2006 by PROGIDISTRI -

Copyright:  (c) 2009 - 2011 by the Quam Plures developers -

dh> Add support for ETag / If-Modified-Since. Maybe send "Expires", too? (to "force" caching) fp> for more efficient caching (like creating a thumbnail on view 1 then displaying the thumbnail again on view 2), this should probably redirect to the static file right after creating it (when $public_access_to_media=true OF COURSE) dh> this would add another redirect/HTTP request and no cache handling, assuming that the server is not configured for smart caching. Additionally, it does not help for non-public access, which is the meat of this file. I've added "Expires: in ten years" now, but not for thumbs (see comment there).

Filesource:  Source Code for this file
require_once (dirname(__FILE__).'/../qp_config/_config.php') [line 46]

Load config, init and get the $mode.

[ Top ]

require_once ($inc_path.'/') [line 47]
[ Top ]