[18.04.2007 13:31] frederic wolf wrote:
basically you could do that
       $str = file_get_contents($file);
header('Content-Disposition: attachment; filename="downloaded.pdf"');
       header('Content-type: application/pdf');
       echo $str;

fpassthru() or readfile() use less memory

Reply via email to