html 페이지 파일다운로드

$ofile = "../../downpaper/paper/$p_id";
Header("Content-type: application/octet-stream");
Header("Content-Disposition: attachment; filename=$p_id");
Header("Content-Transfer-Encoding: binary");
Header("Content-length: ".filesize("$ofile"));
Header("Connection: close");
Header("Pragma: no-cache");
Header("Expires: 0");
readfile($ofile);
exit();



?>
크리에이티브 커먼즈 라이센스
Creative Commons License
이올린에 북마크하기

Posted by 홍반장

2004/05/28 16:22 2004/05/28 16:22
Response
No Trackback , No Comment
RSS :
http://tcbs17.cafe24.com/tc/rss/response/44

Trackback URL : http://tcbs17.cafe24.com/tc/trackback/44

« Previous : 1 : ... 5889 : 5890 : 5891 : 5892 : 5893 : 5894 : 5895 : 5896 : 5897 : ... 6391 : Next »

블로그 이미지

- 홍반장

Archives

Recent Trackbacks

Calendar

«   2024/05   »
      1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31  
Statistics Graph

Site Stats

Total hits:
188408
Today:
594
Yesterday:
614