phpcms怎么上传图片
1、首先在模板页,引用 js与css,两个文即可搞定。
<script type="text/javascript" src="http://www.51shuxie.com/statics/js/dialog.js"></script> <link href="http://www.51shuxie.com/statics/css/dialog_simp.css" rel="stylesheet" type="text/css" />
相关推荐:phpcms教程
2、然后调用上传图片功能
<div class="form"> <script type="text/javascript" src="statics/js/swfupload/swf2ckeditor.js"></script> <input type='text' name='info[testimages]' id='testimages' value='' size='' class='input-text' /> <input type='button' class='button' onclick="javascript:flashupload('testimages_images', '附件上传','testimages',submit_images,'1,gif|jpg|jpeg|png|bmp,1,,','member','','c37c3ee14570cf9dea7e79707e3494fb')"value='上传图片'/> </div>
以上是phpcms怎么上传图片的详细内容。更多信息请关注PHP中文网其他相关文章!