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 : ... 829 : 830 : 831 : 832 : 833 : 834 : 835 : 836 : 837 : ... 1009 : Next »

블로그 이미지

- 홍반장

Archives

Recent Trackbacks

Calendar

«   2024/11   »
          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
Statistics Graph

Site Stats

Total hits:
242192
Today:
722
Yesterday:
1266