[請益] 請問關於壓縮檔下載 抓完後確無法解壓縮

看板PHP作者 (ipod touch之路)時間15年前 (2009/04/30 00:55), 編輯推噓1(101)
留言2則, 1人參與, 最新討論串1/3 (看更多)
先提供一下出問題的網址 http://mail.csie.ncyu.edu.tw/~s0914707/SanguoMusou4.php 我很確定該資料檔是對的,我比對大小發現大小都是對的,但是卻是壞的 使用winrar內建的壓縮檔修復工具則可以成功修復 訊息是說標頭損壞 想請問是那邊有問題 以下為download.php的內容,Button只作連結的工作 <?php ob_start(); $file_name = $_GET[file]; $file_url = rawurlencode($file_name); header('Content-Description: File Transfer'); header('Content-Type: application/octet-stream'); header("Content-Disposition: attachment; filename=$file_name"); header('Content-Transfer-Encoding: binary'); header('Expires: 0'); header('Cache-Control: must-revalidate, post-check=0, pre-check=0'); header('Pragma: public'); header('Content-Length: ' . filesize($file_name)); ob_clean(); flush(); readfile($file_url); ?> 順便再問一下,如何隱藏滑鼠移上Button時,在瀏覽器最左下會顯示的連結位置 -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 59.127.240.89

04/30 15:49, , 1F
status只有IE才有用,基本上現在沒人在管這個東東了
04/30 15:49, 1F

04/30 15:50, , 2F
onmouseover="window.status=' ';"
04/30 15:50, 2F
文章代碼(AID): #19-8Q15R (PHP)
討論串 (同標題文章)
文章代碼(AID): #19-8Q15R (PHP)