include_once('dropbox_functions.inc.php') [line 44]
include_once(api_get_path(LIBRARY_PATH).'/document.lib.php') [line 50]
include_once('dropbox_config.inc.php') [line 38]
include_once('dropbox_sanity.inc.php') [line 41]
require("../inc/global.inc.php") [line 35]
require_once("dropbox_class.inc.php") [line 47]
require_once(api_get_path(LIBRARY_PATH).'/document.lib.php') [line 156]
require_once("dropbox_init.inc.php") [line 352]
Dropbox module for Claroline handles downloads of files. Direct downloading is prevented because of an .htaccess file in the dropbox directory. So everything goes through this script.
Initialising vars
Authorisation
Sanity check of get data & file
Send headers
Send file
NOTE : When testing this with PHP4.0.4 on WinXP and Apache2 there were problems with downloading in IE6 After searching the only explanation I could find is a problem with the headers:
As you can see the there is a difference in the Cache-Control directive. I suspect that this explains the problem. Also take a look at http://bugs.php.net/bug.php?id=16458.