上一页 1 ··· 38 39 40 41 42 43 44 45 46 ··· 76 下一页
摘要: OpenSSL是一个开源的ssl技术,由于我需要使用php相关功能,需要获取https的文件所以必须安装这个东西了,下面我整理了两种关于OpenSSL安装配置方法。 安装环境: 操作系统:CentOs7安静 OpenSSL Version:openssl-1.0.2j.tar.gz 目前版本最新的S 阅读全文
posted @ 2018-07-25 18:51 浮尘微光 阅读(54030) 评论(1) 推荐(0)
摘要: https://blog.csdn.net/maxsky/article/details/54017981 【可以使用命令在项目根目录一键创建 php artisan make:controller 目录名/控制器名 --plain (是小写 php,CSDN…我服)】 【执行后可以省去 1-5 步 阅读全文
posted @ 2018-07-25 16:46 浮尘微光 阅读(359) 评论(0) 推荐(0)
摘要: https://blog.csdn.net/self_realian/article/details/78228733 掌握PHP各类设计模式,具备设计纯面向对象框架和系统能力是非常有必要的。给大家一个小建议吧,学习设计模式的时候,使用phpStorm工具,因为设计模式是纯面向对象的,有很多的类,p 阅读全文
posted @ 2018-07-25 14:15 浮尘微光 阅读(239) 评论(0) 推荐(0)
摘要: https://blog.csdn.net/self_realian/article/details/78596261 一、什么是模型 为什么我们要在项目中使用模型,其实我们知道,我们可以直接在控制器中进行数据库的增、删、改、查,其实已经能基本完成我们的需求,但是,为什么还要有模型的存在呢? 比如说 阅读全文
posted @ 2018-07-25 14:08 浮尘微光 阅读(1756) 评论(1) 推荐(0)
摘要: https://www.cnblogs.com/foreversun/p/6837147.html 首先是目录结构 源文件夹为 src/ 测试文件夹为 tests/ User.php 对应的单元测试文件 UserTest.php 第二个单元测试代码因为要引入 要测试的类 这里可以用 自动载入 避免文 阅读全文
posted @ 2018-07-24 16:18 浮尘微光 阅读(241) 评论(0) 推荐(0)
摘要: 优雅的使用Laravel之phpstorm配置 先打开一个Laravel 项目,然后在project tool 窗口选择根节点、然后右键->Composer | Init composer 。 如果你的电脑里没有composer.phar,可以点击链接来下载。 然后点击项目 composer->ad 阅读全文
posted @ 2018-07-23 18:28 浮尘微光 阅读(1554) 评论(0) 推荐(0)
摘要: https://www.cnblogs.com/kevingrace/p/5896706.html 使用下面的关系区别这两个操作:git pull = git fetch + git mergegit pull --rebase = git fetch + git rebase 现在来看看git m 阅读全文
posted @ 2018-07-20 15:13 浮尘微光 阅读(6909) 评论(0) 推荐(0)
摘要: http://php.net/manual/zh/function.debug-backtrace.php debug_backtrace (PHP 4 >= 4.3.0, PHP 5, PHP 7) debug_backtrace — 产生一条回溯跟踪(backtrace) debug_backt 阅读全文
posted @ 2018-07-13 10:09 浮尘微光 阅读(534) 评论(0) 推荐(0)
摘要: union all select *,'1' as category from table1001 where price > 10union allselect *,'2' as category from table1002 where price > 10union allselect *,' 阅读全文
posted @ 2018-07-09 10:35 浮尘微光 阅读(22661) 评论(0) 推荐(0)
摘要: 手动注册 命名空间.利用application/config.php配置文件来注册命名空间1:在application目录同级创建一个myExtend文件夹,里面再创建一个myTest文件夹.里面放一个myTest.php,里面写<?phpnamespace myTest;class myTest{ 阅读全文
posted @ 2018-07-04 12:53 浮尘微光 阅读(961) 评论(0) 推荐(0)
上一页 1 ··· 38 39 40 41 42 43 44 45 46 ··· 76 下一页