2022年1月9日

mule esb 配置maven

摘要: 已安装AnypointStudio 已在本地安装AnypointStudio 安装社区版 Help > Install New Software> Mule ESB Server Runtime 3.9.0 CE Maven Tools for Mule工具安装 Help > Install New 阅读全文

posted @ 2022-01-09 15:18 何苦-> 阅读(480) 评论(0) 推荐(0) 编辑

2021年12月23日

php实现kafka功能开发

摘要: linux 安装librdkafka https://github.com/edenhill/librdkafka yum install librdkafka-devel linux 安装php uuid扩展 参考perl安装篇 /www/server/php/72/bin/pecl instal 阅读全文

posted @ 2021-12-23 17:12 何苦-> 阅读(191) 评论(0) 推荐(0) 编辑

php 扩展安装 pecl pear composer

摘要: pecl The PHP Extension Community Library pecl 是php社区扩展库。 Pecl 扩展库的包(package)是使用 C、C++ 编写的动态链接库扩展,在编译安装后通过 php.ini 加载,随 PHP 进程被装入内存。比如多线程 、异步 。 pear PH 阅读全文

posted @ 2021-12-23 15:34 何苦-> 阅读(427) 评论(0) 推荐(0) 编辑

2020年9月21日

mysql 根据json数据字段查询 显示json字段内容

摘要: 名称 描述 -> 评估路径后从JSON列返回值;等效于JSON_EXTRACT()。 ->> (介绍5.7.13) 评估路径并取消引用结果后,从JSON列返回值;等效于JSON_UNQUOTE(JSON_EXTRACT())。 JSON_APPEND() (已弃用) 将数据附加到JSON文档 JSO 阅读全文

posted @ 2020-09-21 11:20 何苦-> 阅读(3519) 评论(0) 推荐(0) 编辑

2020年4月11日

json_encode 详细参数说明

摘要: json_encode 详细参数说明 阅读全文

posted @ 2020-04-11 20:18 何苦-> 阅读(1826) 评论(0) 推荐(0) 编辑

php富文本保留120汉字

摘要: ``` if($data['content']){ $intro = strip_tags($data['content']);//去除html标签 $pattern = '/\s/';//去除空白 $intro = preg_replace($pattern, '', $intro); $data['desc'] = mb_substr($intro, 0, 120,"UTF-8");//截取1 阅读全文

posted @ 2020-04-11 20:16 何苦-> 阅读(185) 评论(0) 推荐(0) 编辑

取消thinkphp里面的转义

摘要: //取消thinkphp里面的转义 if (get_magic_quotes_gpc()) { function stripslashes_deep($value) { $value = is_array($value) ? array_map('stripslashes_deep', $value 阅读全文

posted @ 2020-04-11 20:14 何苦-> 阅读(975) 评论(0) 推荐(0) 编辑

php 魔术方法

摘要: PHP中把以两个下划线__开头的方法称为魔术方法(Magic methods),这些方法在PHP中充当了举足轻重的作用。 魔术方法包括: 阅读全文

posted @ 2020-04-11 20:13 何苦-> 阅读(93) 评论(0) 推荐(0) 编辑

p(str or array) 传递数据以易于阅读的样式格式化后输出 bootstarp样式的打印函数

摘要: function p($data){ // 定义样式 $str='<pre style="display: block;padding: 9.5px;margin: 44px 0 0 0;font-size: 13px;line-height: 1.42857;color: #333;word-br 阅读全文

posted @ 2020-04-11 20:11 何苦-> 阅读(146) 评论(0) 推荐(0) 编辑

2020年4月10日

[Err] 1067 - Invalid default value for 'create_time'

摘要: mysql导入报错 比较老的系统生成的数据库导入5.7时报错[Err] 1067 Invalid default value for 'create_time' 1. 先查询 2. 重启mysql 再次导入 Table storage engine for doesn't have this opt 阅读全文

posted @ 2020-04-10 11:46 何苦-> 阅读(2051) 评论(0) 推荐(0) 编辑

导航