I use following script to force download but how do I show file size of the downloadable file.
<?php
$file = base64_decode($file);
header("Content-Description: File Transfer");
header("Content-Type: application/force-download");
header("Content-Disposition: attachment; filename=".basename($file));
@readfile($file);
?>





Bookmarks