<?php

     header("Content-disposition: attachment; filename=\"".$itemname."\"");
     header('Content-type: application/'.$extension);
     readfile("$destination");
     if($itempath){
        @unlink("$destination");
     }

?>