Reply to PHP download on MAC

Your name:

Reply:


Posted by friglob on 10/07/06 10:34

this is very simple version of download.php:

$filename = "folder/filename.jpg";
$filesized = filesize($filename);

header("Cache-Control: must-revalidate, post-check=0, pre-check=0");
header('Content-Type: image/jpeg');
header('Content-Disposition: attachment; filename="name.jpg"');

readfile_chunked($filename,$filesized);




works great on PC but on MAC client recieves a message "0 KB" and no download is started
i have been googling but with not much luck so i would like to know if there is some workaround or solution?

thank you very much

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация