爱站迷
爱站迷
2996 4 0

对zip解析怎么弄

//images
$img_re = '/(http[s]?://?('.$options['safe_imgdomain'].').+.(zip|rar))\w*/';
if(preg_match($img_re, $text)){
if(!$spider){
$text = preg_replace($img_re, '', $text);
}else{
// 搜索引擎来这样显示 更利于SEO 参见 http://saepy.sinaapp.com/t/81
$text = preg_replace($img_re, '', $text);
}
}

。。我懵了。不懂php 请指教
还有一个就是
能发11个帖子可以看到下载地址

0

See Also

Nearby


Discussion (4)

爱站迷
爱站迷 2013-03-24 22:51
0
ego008
ego008 2013-03-25 00:50

zip 和 rar 不用另外匹配,就是一个url,可点的链接
http://www.google.com.hk/tmp/empty.zip
http://www.google.com.hk/tmp/empty.rar

0
ego008
ego008 2013-03-25 00:53

要限制某些用户查看有些难。

0
阿东
阿东 2013-03-25 07:11

要限制某些用户查看有些难。

0
Login Topics