Function __global->log_download

Definitions

sources/downloads2.php

  • Log a file download, update the downloads counter and the download bandwidth counter.
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Return: N/A

Parameters

Name Type Default Set Range Description
$id AUTO_LINK required parameter N/A N/A The ID of the download being downloaded
$size integer required parameter N/A N/A The size of the download (if zero, no bandwidth will be done - zero implies either an empty file, or a remote file that doesn't affect our bandwidth)
$got_before boolean required parameter N/A N/A Whether the download has been downloaded before