Home >php教程 >php手册 >附件名前加网站名

附件名前加网站名

WBOY
WBOYOriginal
2016-06-13 12:30:27781browse

附件下载 时附件名前加网站名,也就是说下载到本机时,文件名上就加了网站名
你注册下载时就出现脚本之家论坛下载-后名是附件名


1 include/attachment.func.php: 复制内容到剪贴板 
代码:
while($attach = $db->fetch_array($query)) {2 attachment.php: 复制内容到剪贴板 
代码:
if($attach = $db->fetch_array($query)) {以上两处下加复制内容到剪贴板代码: 复制内容到剪贴板 
代码:
$attach['filename'] = '建筑互联论坛下载- '.$attach['filename'];当然 把 脚本之家下载 换成你自己的站名

说明下:是习明帮助的!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn