$file = "/home/xxxx/openssh-3.6.1p1.tar.gz"; $mb = filesize($file); $download = "openssh-3.6.1p1.tar.gz";
$fp = fopen($file, "r");
Header ( "HTTP/1.1 206 One resume, coming up!" );
Header ( "Pragma: no-cache" );
Header ( "Content-Type: application/octet-stream" );
Header ( "Content-Length: ".filesize("$file") );
Header ( "Content-Disposition: attachment; filename=$download" )$ readfile("/home/xxxx/openssh-3.6.1p1.tar.gz");
exit;
THis start a download but give me a corrupted downloaded file... Any help out here......
_________________________________________________________________ L�ttare att hitta dr�mresan med MSN Resor http://www.msn.se/resor/
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

