how detect user successfully finished downloading record php
i've got php page handles requets record downloads. i need means detect record downloaded successfully. done? maybe there's means detecting client-side following eventuality acknowledgment down server.
thanks.
edit:
by handle, i meant page doing something this:
$file = '/var/www/html/file-to-download.xyz';
header('content-type: application/octet-stream');
header('content-length: ' . filesize($file));
header('content-disposition: attachment; filename=' . basename($file));
readfile($file);
Comments
Post a Comment