phpcmsv9前台上传图片,传递参数有错误前台上传图
文章出处:未知 │ 网站编辑:960web │ 发表时间:2017-06-18 00:56 我要分享
<input type="button" class="button" value="多文件上传" onclick="javascript:flashupload('work_teacher_multifile', '附件上传','work_teacher',change_multifile,'1,gif|jpg|jpeg|png|bmp|doc|docx|xls|zip,0','content','69','249c3d66ee7bc886ddbd541921f7388c')"/>
<input type="button" class="button" value="添加远程地址" onclick="add_multifile('work_teacher')">
没有用form的方式动态生成上传的控件。
修改办法:
\phpcms\modules\attachment\attachments.php 第80行
注释掉 这一行。。
if((upload_key($args)!=$authkey)) showmessage(L('attachment_parameter_error'));
就ok了
<input type="button" class="button" value="添加远程地址" onclick="add_multifile('work_teacher')">
没有用form的方式动态生成上传的控件。
修改办法:
\phpcms\modules\attachment\attachments.php 第80行
注释掉 这一行。。
if((upload_key($args)!=$authkey)) showmessage(L('attachment_parameter_error'));
就ok了