Dev
搜索

Dev

thinkphp fetch取回模版内容 然后show 貌似造成很多缓存
发表于2016-07-30|thinkphp
今天为了替换模版中的错误网址, 然后show出去,结果产生了大量缓存 目前改用echo暂时解决这个问题
js 截取指定长度字符串 控制页面字数
发表于2016-07-30|js
[pcsh lang=”js” tab_size=”4” message=”” hl_lines=”” provider=”manual”] function cutstr(str,len) { var str_length = 0; var str_len = 0; str_cut = new String(); str_len = str.length; for(var i = 0;i<str_len;i++) { a = str.charAt(i); str_length++; if(escape(a).length > 4) { //中文字符的长度经编码之后大于4 str_length++; } str_cut = str_cut.concat(a); if(str_length>=len) ...
Windows 右下角 输入法不见的处理办法
发表于2016-07-28|others
Windows+r ctfmon
thinkphp getField 只返回一行的数据
发表于2016-07-21|thinkphp
经过解析后getField的sql语句中自带了limit 1 示例 [pcsh lang=”php” tab_size=”4” message=”” hl_lines=”” provider=”manual”] SELECT `id` FROM `cul_userinfo` WHERE `name` LIKE '%黄%' OR `team` LIKE '%黄%' LIMIT 1 [/pcsh]      
windows 无法安装字体 显示字体无效 解决办法
发表于2016-07-20|others
原文地址 http://jingyan.baidu.com/article/9f63fb918d28dfc8410f0e46.html Windows10无法安装字体 很可能是防火墙没有启动  
兼容ie8和几乎任何浏览器的播放器
发表于2016-07-05|others
flarevideo 项目地址 https://github.com/maccman/flarevideo/
shopnc H方法 F方法
发表于2016-07-04|shopnc
H方法 H(‘setting’); 使用 H 方法将 setting 表信息生成到文件缓存:H(‘setting’,true,’file’); 从缓存读取配置 F方法 同thinkphp的文件缓存  
shopnc 配置
发表于2016-07-04|shopnc
位置 \data\config\config.ini.php 未存入数据库 的配置 \data\cache\setting.php 从数据库setting表生成的    
shopnc F方法
发表于2016-07-04|shopnc
定义位置 \core\framework\function\core.php 文件数据读取和保存 字符串、数组
shopnc setting 表
发表于2016-07-04|shopnc
存取shopnc系统配置在数据库 对应在setting.model.php文件中 更新数据库中的值 使用时使用C方法读取 生成的配置数组文件在\data\cache\config.php  
1…565758…103
avatar
developer
AI相伴的开发者博客
文章
1022
标签
723
分类
35
Follow Me
公告
This is my Blog
最新文章
pdf按章节拆分到文件2026-05-03
svg转png2026-04-09
taro+tailwind开发记录2026-04-07
hono js 使用记录2026-03-31
cmder使用记录2026-03-08
分类
  • apicloud3
  • bootstrap8
  • cmder1
  • cocos2d-js5
  • createjs17
  • day45
  • docker16
  • egret14
标签
ajax 本地测试方法 Function 处理大数组 table_msg 优化方向 css动画 xhprof_enable 关闭防火墙 自定义 cdn 翻书 无用 eui 购买 页面高度 Promise对象 tr __unset 菜单 tailwind 滑动时 并携带cookie goaccess 自建代理 上传图片 SplQueue kde mb_ereg_replace 控制器参数注入和 解析 英文 管理 swoft datetime laravel windows10 kubuntu 模板字符串 正态分布
归档
  • 五月 2026 1
  • 四月 2026 2
  • 三月 2026 3
  • 二月 2026 5
  • 一月 2026 3
  • 十二月 2025 5
  • 十一月 2025 2
  • 十月 2025 5
网站信息
文章数目 :
1022
最后更新时间 :
© 2025 - 2026 By developer框架 Hexo 8.1.1|主题 Butterfly 5.5.4
搜索
数据加载中