看板 PHP 關於我們 聯絡資訊
先提供一下出問題的網址 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
w3c :status只有IE才有用,基本上現在沒人在管這個東東了 04/30 15:49
w3c :onmouseover="window.status=' ';" 04/30 15:50