1 Star 0 Fork 452

sundayō/dzzoffice

forked from zyx0814/dzzoffice 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
saveto.php 592 Bytes
一键复制 编辑 原始数据 按行查看 历史
zyx0814 提交于 7年前 . 更新到2.02版
<?php
/*
* 下载
* @copyright Leyun internet Technology(Shanghai)Co.,Ltd
* @license http://www.dzzoffice.com/licenses/license.txt
* @package DzzOffice
* @link http://www.dzzoffice.com
* @author zyx(zyx@dzz.cc)
*/
if (!defined('IN_DZZ')) {
exit('Access Denied');
}
$qid = intval($_GET['qid']);
$attach = C::t('comment_attach') -> fetch_by_qid($qid);
if (!$attach) {
topshowmessage(lang('attachment_nonexistence'));
}$attach['filename'] = $attach['title'];
$pfid = $_GET['fid'];
$icoarr = io_dzz::uploadToattachment($attach, $pfid);
exit(json_encode($icoarr));
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
PHP
1
https://gitee.com/sunday2062/dzzoffice.git
git@gitee.com:sunday2062/dzzoffice.git
sunday2062
dzzoffice
dzzoffice
master

搜索帮助