• xtss_nation.sql

    中国56个民族数据表,mysql数据表,可以直接导入使用

    0
    73
    4KB
    2021-04-23
    2
  • 国内省市区三级区域代码数据表

    因为工作需要,对接其他网站需要区域码来对应省市区,在网上没有找到,最后自己整理了一份,国内省市区三级区域代码+经纬度数据表

    0
    275
    5.76MB
    2019-12-27
    33
  • upload_file.js

    TP5多文件上传,可用于调查: 附前台HTML <div id="image{$k}" class="btn-control"> 图片上传: &lt;input type="file" id="bgyxun[{$k}]" class="image_bgy" placeholder="图片" value="" &lt;input type="hidden" name="img[{$k}][]" class="form-control" placeholder=""> </div> <span class="add-more glyphicon glyphicon-plus"></span> TP5后台文件上传 public function ajaximg(){ $base64_img = trim(input('b64')); $up_dir = './uploads/form/';//存放在当前目录的upload文件夹下 if(preg_match('/^(data:\s*image\/(\w+);base64,)/', $base64_img, $result)){ $type = $result[2]; if(in_array($type,array('pjpeg','jpeg','jpg','gif','bmp','png'))){ $new_file = $up_dir.date('YmdHis_').'.'.$type; if(file_put_contents($new_file, base64_decode(str_replace($result[1], '', $base64_img)))){ $img_path = str_replace('../../..', '', $new_file); $img_path = str_replace('./uploads/', '', $img_path); return json(['re'=>$img_path]); }else{ return json(['re'=>'失败']); } }else{ //文件类型错误 return json(['re'=>'错误']); } }else{ //文件错误 return json(['re'=>'错误1']); } }

    0
    282
    2KB
    2019-08-14
    11
  • 智能合约-游戏僵尸工厂学习笔记

    本文档记录了本人学习区块链游戏僵尸工厂的所有知识要点,并附智能合约审计内容

    0
    250
    29KB
    2018-09-05
    18
  • 百度HTML编辑器使用方法

    百度富文本编辑器使用方法,里边用法中详细描述了百度编译器,包括图片上传,修改路径在内的方法。希望对初学者用所帮助

    0
    153
    2.67MB
    2018-08-02
    11
  • 签到新秀

    累计签到获取,不积跬步,无以至千里,继续坚持!
  • 分享小兵

    成功上传3个资源即可获取
  • 创作能手

    授予每个自然周发布1篇到3篇原创IT博文的用户
关注 私信
上传资源赚积分or赚钱