Linux上常见的Shell脚本解释器有bash、sh、ash、csh、ksh,习惯上把它们称作一种Shell […]
Continue readingphp文件操作
fopen() 函数用于在 PHP 中打开文件。 打开文件 fopen() 函数用于在 PHP 中打开文件。 […]
Continue reading我只是我
作者:许一世安颜 也许,你看到的我,随和,平静,对一切都是那么的坦然 也许,你看到的我,没有那么多的情感表达, […]
Continue readingpython 类声明
python中类的声明使用关键词class,可以提供一个可选的父类或者说基类,如果没有合适的基类,那就用obj […]
Continue reading风光摄影技巧
夜晚为了拍摄城市灯光的效果,使用的拍摄参数为,ISO 100,光圈f/16,快门速度30秒。 为什么是ISO […]
Continue reading在创业之前,你需要做好哪些事
在创业之前,你需要对自己有一个自我的审视,去了解你自己,知道当时的你是一个怎样的人,并且以后的你想要成为怎样的 […]
Continue reading摆地摊拿货一定要注意的事项——批发市场篇
随着2020年5月底全国文明城市测试指标将“马路市场,流动商贩”不作为测评一个城市文明程度的范围内后,选择摆地 […]
Continue reading世界,你好!
欢迎使用WordPress。这是系统自动生成的演示文章。编辑或者删除它,然后开始您的博客!
Continue readingphp下面简单使用memcache
记录下,以后脑袋不好使了,可以返回来看看。 1.首先下载 memcached ,百度上面很多,按照自己对应系统 […]
Continue readingphp之include载入文件
include include_once require require_once 都属于语法结构,而非函数, […]
Continue readingphpexec用法详解
exec函数解析 exec语法: string exec(string command, string [ar […]
Continue readingphp之自定义错误
自定义错误就是自己可以完全控制错误以及其提示内容 设定错误由自己定义的函数来处理 set_error_hand […]
Continue reading初学php分号和逗号的一些经验
分号表示该条语句结束, 逗号表示一条语句中某一部分结束。 比如 $myarray=array( ‘ […]
Continue readingphp之记录错误日志
在开发阶段,需要显示所有错误;而在产品阶段,则需要隐藏所有错误并记录所有错误 同样记录错误有两种方式 在php […]
Continue readingphphnosuchfileordirectory
php.h no such file or directory yesterday , i tried to […]
Continue reading140php$
php $_server变量 server变量 /* that will give you the resul […]
Continue readingnginx+tomcat取得远程用户ip问题的解决办法
nginx+(1…n)tomcat集群部署时,后端tomcat需要取得用户的ip,这时通过 reque […]
Continue readingphp之错误显示控制
php中错误显示有两个方面进行控制 设定是否显示错误 php.ini 中 display_errors = o […]
Continue readingphp初学之常量
常量;经常用的东西,有些重要的值不希望被改变,变量的反义词,可以理解成一个写死的、不变的 […]
Continue readingphp中把stdclassobject转array的几个方法
php和js通讯通常都用json,但用 json 传过来的数组并不是标准的array,而是 stdclass […]
Continue reading关于nginx在tomcat下配置使用
upstream localhost { server 127.0.0.1:8080; //配置需要访问的to […]
Continue readingueditor自定义表单post过来的name
自己加入name即可接收的地方$_post[‘aaaaa’]; 以上就介绍了uedit […]
Continue reading经典排序算法
经典排序算法 – 冒泡排序bubble sort 原理是临近的数字两两进行比较,按照从小到大或者从 […]
Continue readingphp学习笔记之数组操作//待完善v10
1、array_map(callable, array) 1.1 将数组中value按照callable中原则 […]
Continue reading如何删除php数组中的元素,并且索引重排
如果要在某个数组中删除一个元素,可以直接用的unset,但是数组的索引不会重排: 结果是:array ( [0 […]
Continue readingphp强大的时间转换函数strtotime
使用strtotime可以将各种格式的时间字符串转换为时间戳 转换常规时间格式 echo date(̵ […]
Continue readingphp实现中文转数字
分享一个辅助函数,使用php尽可能识别出字符串中的数字, 先上代码 function checknatint( […]
Continue readingcentos67下php5+安装redis扩展组件
首先去redis官网,点击 clients 链接,在 browse by language 内点击 php 项 […]
Continue readinglumen可以使用laravel
1.laravel-ide-helper 地址https://github.com/barryvdh/lara […]
Continue readingcomposer安装
通过 composer 镜像安装 composer 务必确保已经正确安装了php。 局部安装 局部安装是将 c […]
Continue reading