- 博客(20)
- 收藏
- 关注
原创 angular.js - 关于报The controller with the name ‘‘ is not registered的问题
3.moudle列表引入错误文件!2.检查控制器名称大小写!4.检查路由reject!1.最简单的就是未注册。
2023-07-20 16:36:49
292
1
原创 web前端知识点总结(持续更新)
1.原型和原型链的理解2.从零开始手写promise3.算法题 最长公共前缀首先第一层for循环(枚举首个字符串的所有字符),使用stringObject.charAt(index)方法获取数组第一个元素的第i个字符,赋值给c,第二层for循环,从索引1开始遍历数组中所有剩余元素的对应i位置的字符,并与c比较,如果该字符不等于c,或者压根没有该字符,直接使用stringObject.substring(start,stop)方法返回首个元素从索引0到i的拷贝,若两层循环都正常运行过
2021-02-24 18:03:41
289
原创 安装composer报错
windows安装composer时报错A duplicate setting in your php.ini could be causing the problem.Program Output:PHP Warning: Module ‘mysqli’ already loaded in Unknown on line 0PHP Deprecated: Directive ‘tr...
2020-03-11 11:21:29
1553
原创 phpstorm debug总是debug到入口文件第一行
解决方案:打开phpstorm的设置->语言->php->debug取消勾选 break at first line in PHP scripts
2019-12-05 18:52:14
651
1
原创 SQLSTATE[HY000]: General error: 1390 Prepared statement contains too many placeholders
SQLSTATE[HY000]: General error: 1390 Prepared statement contains too many placeholdersmysql 报错排查错误1.写入:mysql使用PDO进行写入的时候,PDO支持最大占位符为65535。2.查询:where in 数据太多3.正在排查。。。...
2019-12-05 18:23:53
2492
原创 composer报错failed to open stream: operation failed
composer报错 failed to open stream: operation failedThe “https://packagist.laravel-china.org/packages.json” file could not be downloaded: Peer certificate CN=*.phphub.org' did not match expected CN=pa...
2019-10-08 17:59:24
2196
原创 php必备技能!![会补充]
1.解释继承,多态,接口,2.抽象类和接口的区别3.php与apache/nginx之间如何通信深入理解PHP之:Nginx 与 FPM 的工作机制4.数据库连接池5.设计模式6.trait的理解和原理7.修饰符的解释public/protect/provite8.进程线程描述9,.token缓存地址...
2019-09-29 14:42:59
176
转载 阿里云短信原生sdk 解决 Uncaught Error: Class ‘Aliyun\Core\Config’ not found 问题
原文链接:https://blog.youkuaiyun.com/qq_38125058/article/details/79162045之前是直接composer安装的阿里大鱼,没有发现问题。现在下了阿里的原生的短信sdk,报错Uncaught Error: Class ‘Aliyun\Core\Config’ not found,解决方法如下阿里云短信服务一:使用阿里云的短信服务① 申请...
2019-09-20 18:29:04
3099
原创 phpexcel的一些用法--持续更新
//设置默认行高$objPHPExcel->getActiveSheet()->getDefaultRowDimension()->setRowHeight(30);
2019-05-14 15:55:04
154
原创 php 过滤敏感词
php 过滤csv敏感词 上代码function getcsv($content=''){$csv_file='精确词1.csv';//读取文件$file=file_get_contents($csv_file);$arr = explode("\r\n",$file);foreach($arr as $k=>$v){ if($v){ if(strpos...
2019-04-22 17:16:03
554
原创 File upload error - unable to create a temporary file in Unknown on line 0
PHP Warning: File upload error - unable to create a temporary file in Unknown on line 0上传文件报错,若不是上传文件目录权限问题,解决方案去掉 upload_tmp_dir 前面的分号然后设置临时文件目录即可;亲测有效...
2019-04-22 11:52:47
1754
原创 Class '\think\db\connector\Oracle' not found的解决方法
Class ‘\think\db\connector\Oracle’ not found的解决方法用thinkphp5.1链接oracle数据库时报错 Class ‘\think\db\connector\Oracle’ not found。解决方法:用composer安装oracle驱动,进入项目目录,运行 composer require topthink/think-oracle=2...
2019-03-20 14:23:37
6595
原创 关于在同一个电脑上用设置多个git ssh key需要注意的点
在同一个电脑上用设置多个ssh key需要注意的点在克隆项目时出现这个错误ERROR: Repository not found.fatal: Could not read from remote repository.Please make sure you have the correct access rightsand the repository exists.接下来检查了...
2019-03-12 15:09:05
336
1
原创 涨涨知识
1,关于浮点数相加会丢失精度(转为二进制开始计算);所以不要直接进行比较,上图:2,javascript中parseInt的使用。paseInt首先会调用参数的toString方法,JS中精度小于0.000001的数字会自动转化为科学计数的字符串(1e-6)。所以,上图...
2018-03-20 10:48:24
119
原创 分享一下最近对我有帮助的文章(持续更新)
1,mysql中的insert into 和 replace into , 链接:http://blog.youkuaiyun.com/mchdba/article/details/86475602,启动邮箱报错 (send-mail: fatal: parameter inet_interfaces: no local interface found for ::1) 链接:h...
2018-03-20 10:20:07
138
原创 Apache配置的一些坑(持续更新)
1.开启伪静态 修改apache目录下conf里面的httpd.conf,修复一直出现it works 将# LoadModule rewrite_module modules/mod_rewrite.so前的#号去掉; 将# Include conf/extra/httpd-vhosts.conf前的#号去掉;(后续补充)...
2018-03-15 09:59:45
415
1
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人