File download zend framework php script
<?php
$imagePath = getcwd().’/public/images/smartips_log.png’;
header(‘Content-Type: image/jpeg’);
header(‘Content-Disposition: attachment; filename=smartips_log.png’);
readfile($imagePath);
?>
<?php
$imagePath = getcwd().’/public/images/smartips_log.png’;
header(‘Content-Type: image/jpeg’);
header(‘Content-Disposition: attachment; filename=smartips_log.png’);
readfile($imagePath);
?>