随笔分类 -  PHP

摘要:织梦dede 5.7系统基本参数无法修改保存,总是提示Token mismatch! 最开始以为是文件权限问题,反复给权限无法解决。 百度了下,也没有好用的方法 最后还是要自己动手 在dede/sys_info.php 54行找到对应的内容 根据代码判断是 $token变量问题 打印出来的token 阅读全文
posted @ 2019-08-07 09:53 nigou 阅读(1733) 评论(0) 推荐(0)
摘要:最近在处理一些微擎的东西, 里面有些表单处理组件比较方便, 要是有select的就更好了.... 公用 tpl_form_field_datetpl_form_field_clocktpl_form_field_daterangetpl_form_field_calendartpl_form_fie 阅读全文
posted @ 2018-05-07 09:19 nigou 阅读(848) 评论(0) 推荐(0)
摘要:只有IE出现这种情况需要设置 Header set Cache-Control "max-age=2592000" Header set Pragma "Pragma" Header set Access-Control-Allow-Origin "*" ForceType image/pjp... 阅读全文
posted @ 2015-10-22 13:41 nigou 阅读(393) 评论(0) 推荐(0)
摘要:1 function pr($obj, $exit = false){ 2 if($obj){ 3 echo ""; 4 print_r($obj); 5 echo ""; 6 } 7 if($exit){ 8... 阅读全文
posted @ 2015-05-28 09:56 nigou 阅读(205) 评论(0) 推荐(0)
摘要:function list_to_tree($list, $pk='id',$pid = 'pid',$child = '_child',$root=0){ // 创建Tree $tree = array(); if(is_array($list)) { // 创建基... 阅读全文
posted @ 2015-05-28 09:55 nigou 阅读(622) 评论(0) 推荐(0)