Discuz!官方免费开源建站系统

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索

[插件] 帖子下载 For Dz4.0

[复制链接]
freddy 发表于 2006-1-30 23:23:58 | 显示全部楼层
up
回复

使用道具 举报

lixp 发表于 2006-1-30 23:54:34 | 显示全部楼层
官方加上这个就好了,转帖子就方便了。
回复

使用道具 举报

freddy 发表于 2006-2-6 08:26:27 | 显示全部楼层
up
回复

使用道具 举报

5w33 发表于 2006-5-7 19:16:33 | 显示全部楼层
下载后,帖子内若是有转贴的图片就不能显示了。
楼主可以改一改嘛?
回复

使用道具 举报

samblue 发表于 2006-5-17 16:19:29 | 显示全部楼层
看着不错,用着不知道
回复

使用道具 举报

xlp 发表于 2006-8-21 04:09:26 | 显示全部楼层

  1.         if($action == 'download') {
  2.                 $tmp = ob_get_contents();
  3.                 ob_end_clean();
  4.                 $info = str_replace(array('src="', 'href="', 'background="', "location=('"), array('src="' . $boardurl, 'href="'.$boardurl, 'background="'.$boardurl, 'location=('.$boardurl), $tmp);
  5.                 $info = str_replace($boardurl.'http://','http://',$info);
  6.                 header('Expires: '.gmdate('D, d M Y H:i:s', $timestamp + 31536000).' GMT');
  7.                 header('Content-Encoding: none');
  8.                 header('Content-Disposition: attachment; filename='.$thread[subject].'.htm;');
  9.                 header('Content-Type: text/html');
  10.                 echo($info);
  11.         }
复制代码
回复

使用道具 举报

wbin 发表于 2006-8-22 20:32:22 | 显示全部楼层
这个都给你想到了
回复

使用道具 举报

wbin 发表于 2006-8-29 09:24:29 | 显示全部楼层
回复

使用道具 举报

easonlee 发表于 2006-9-19 12:26:32 | 显示全部楼层
:)
回复

使用道具 举报

chinajty 发表于 2007-1-30 15:51:05 | 显示全部楼层
好东西,占位~~先试试再说
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

手机版|小黑屋|Discuz! 官方站 ( 皖ICP备16010102号 )star

GMT+8, 2024-6-17 00:28 , Processed in 0.112861 second(s), 15 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

快速回复 返回顶部 返回列表