-
在Harbor House转椅上,遇见风靡60年的设计
[PHP教程] 2020-06-18 17:29:40 177人阅读
若回溯家具设计的光辉历史和趣味时刻,我们会发现Chairs,即各种椅子的独特存在感。“坐”这件事,围绕美的艺术,人的舒适体验和探索创新,椅子易于表现,又不可或缺。 从安恩·雅各布森、伊姆斯夫妇等北欧、美国的...[详细]
-
Zend Studio for Eclipse的java.lang.NullPoint
[PHP教程] 2020-06-16 20:04:54 167人阅读
当然这个东西很吃内存,配置差点的就不推荐使用了. 最近用的时候, 发现, 建立PHP工程后,再打开 Zend Studio for Eclipse就出现这个错误 An internal error occurred during: "Building PHP projects ..." java.lang.N...[详细]
-
ThinkPHP5.1验证码功能实现的示例代码
[PHP教程] 2020-06-16 18:45:03 142人阅读
ThinkPHP5.1 已经出现很久了,最近有所接触,下面介绍一下常用的第三方验证码功能的使用。 环境 框架版本: ThinkPHP5.1.2 运行环境: CentOS7.2、phpStudy2017、Nginx 功能开发 1).引入第三方扩展包 进行 TP5 的开...[详细]
-
THINKPHP5.1 Config的配置与获取详解
[PHP教程] 2020-06-16 18:44:43 96人阅读
首先需要在控制器内引入Config类,这里使用5.1新增的facade,通过facade可以静态的调用原本需要被继承才能使用的方法。 获取配置: namespace app\index\controller;use think\facade\Config;class index{ public fu...[详细]
-
详解PHP中curl_multi并发的实现
[PHP教程] 2020-06-16 18:44:20 108人阅读
PHP中的curl_multi系列函数可以实现同时请求多个URL来实现并发,而不是像普通curl函数那样请求后会阻塞,直到结果返回才进行下一个请求。因此在批量请求URL时可通过curl_multi系列函数提升程序的运行效率。 curl普通...[详细]
-
如何在PHP中使用数组
[PHP教程] 2020-06-16 18:41:59 112人阅读
副标题#e# 1、PHP如何获取数组里元素的个数实例 在 PHP 中,使用 count()函数对数组中的元素个数进行统计。 例如,使用 count()函数统计数组元素的个数,示例代码如下: phpheader("Content-Type:text/html; charset...[详细]
-
实例讲解PHP表单
[PHP教程] 2020-06-16 18:41:37 56人阅读
1 GET 和 POST 都创建数组(例如,array( key = value, key2 = value2, key3 = value3, ...))。此数组包含键/值对,其中的键是表单控件的名称,而值是来自用户的输入数据。 2 GET 和 POST 被视作 $_GET 和 $_POST。...[详细]
-
详解php反序列化
[PHP教程] 2020-06-16 18:40:03 176人阅读
副标题#e# 最近也是在复习之前学过的内容,感觉对PHP反序列化的理解更加深了,所以在此总结一下 2 serialize()函数 “所有php里面的值都可以使用函数serialize()来返回一个包含字节流的字符串来表示。序列化一个对象...[详细]
-
laravel admin实现分类树/模型树的示例代码
[PHP教程] 2020-06-16 18:39:40 161人阅读
修改模型Category.php phpnamespace App\Admin\Models;use Encore\Admin\Traits\AdminBuilder;use Encore\Admin\Traits\ModelTree;use Illuminate\Database\Eloquent\Model;class Category extends Model{ use Model...[详细]
-
存酒真简单!海尔发布智慧“客厅酒窖”,不是简
[PHP教程] 2020-05-15 01:55:50 171人阅读
5月13日,海尔智家以“体验云众播”的形式,开启线上海尔酒柜新品发布会。现场不仅设置云体验5G智慧互联工厂、研发中心等众播环节,邀请到3只宠物猫咪、2名健身达人深入交互。还通过葡萄酒存储的智慧场景,向近百万在线...[详细]
- 这篇文章主要介绍了Laravel 5.0 发布 新版本特性详解,...[详细]
- 计算两个日期之间的时间差需要先把两个日期转换成纪元...[详细]
- 初步使用面向对象程序设计,要掌握的就是使用面向对象...[详细]
- 每个 PHP 数组内部都有一个指针,该指针指向数组的某...[详细]
- 因为 PHP 是一个 Web 编程语言,在编程过程中难免会遇...[详细]
- PHP 中提供了 return 语句来返回函数的运行结果,其语...[详细]
- final 关键字的作用如下: 使用 final 修饰的类,不能...[详细]
- 在使用 switch 语句时应该注意以下几点: 和 if 语句...[详细]
- 这篇文章主要给大家介绍了关于PHP替换Word中变量并导...[详细]
- 这篇文章主要介绍了PHP常量DIRECTORY_SEPARATOR原理及...[详细]