如果一站点既要80 http访问,又要443https访问。 要让https和http并存,不能在配置文件中使 […]
Continue reading月份:1970年1月
php界面显示中文乱码
在写一个表单提交的项目中,遇到了php界面输出无法显示中文界面。 后来查阅相关资料,得出解决途径。 代码如下: […]
Continue readingphp数据库操作mysqli
数据库链接 $server = “127.0.0.1”; $username = &# […]
Continue readingwinserver2008r2iis+php500错误内部服务器错误。
今天遇到一个错误是iis 500错误,因为服务器是别人负责的,查看日志没什么异常,就发现在任务日志里发现有一段 […]
Continue readingphpapi项目开源
作为一个phper一直没有写什么像样的php东西。分享一个api的demo源码。这个demo同时访问了两个数据 […]
Continue reading慕课网
先空着 下次继续写 ‘).addclass(‘pre-numbering’ […]
Continue readingnginx+iis+web前端(springmvc)——负载均衡(一)
引言 我们在开发大型的web项目的时候,如果,我们的web发布在一台服务器的iis上的时候,当大量的reque […]
Continue readingphp多维数组数组排序
调用usort()函数自定义排序函数,它必须接收两个参数,第一个参数为要排序的数组,第二个参数为一个回调函数, […]
Continue reading微信开发配置文件详细注释版
fromusername;//将微信用户端的openid赋予变量$fromusername; $tousern […]
Continue readingnginxngx
limit_req_zone $binary_remote_addr z>10m rate=10r/m; se […]
Continue readingphpsymfony3学习记录(二)apache服务器配置&创建第一个网页
参考: http://symfony.com/doc/current/book/page_creation.h […]
Continue readingpdo介绍[不包括具体使用方法]
事实上 php对数据库支撑并不好,最重要的一点就是抽象度不够,访问接口不统一。 why php针对每种数据库都 […]
Continue readingmemcached视频教程大数据高性能集群nosql安装命令使用
视频资料都逐个核对,清晰高质量,而且包含各种文档、软件安装包和源码!永久免费更新! 技术团队永久免费解答各种技 […]
Continue readingphp调用r的脚本实现方案
由于在php网页中,不可避免的需要r语言的强大功能。因此,在对于某些数学函数的实现,我们需要r语言来实现。具体 […]
Continue readingphp——会话控制
1.什么叫做会话控制 允许服务器根据客户端做出的连续请求。 2.为什么需要会话控制? 因为当你打开一个网站,并 […]
Continue readingredis安装步骤
redis安装步骤: —– 有时很久以前安装过的东西,好久没再重新安装过,就会忘,就在 […]
Continue readingnginx反向代理
1.nginx负载均衡依赖于ngx_http_upstream_module模块,支持以下代理模式: prox […]
Continue reading24php中使用iterator,arrayaccess和countable
迭代器往往被我们用来在数据库中读取大量的数据时方便数据的管理。
Continue reading远程获取文件大小
/** * 远程获取文件大小 */ function getfilesize($url){ $url = pa […]
Continue reading阴历
nginx学习笔记(一):nginx的安装和配置
一、nginx的简介 nginx是一个网页服务器,它能反向代理http,https,smtp,pop3,ima […]
Continue readingnginx入门(1)——反向代理
反向代理 百度百科上的解释如下: 反向代理(reverse proxy)方式是指以代理服务器来接受intern […]
Continue readingnodejs创建第一个应用
node.js 创建第一个应用 如果我们使用php来编写后端的代码时,需要apache 或者 nginx 的h […]
Continue readingnginx是个啥?
它是服务器软件之一,像apcache ‘).addclass(‘pre-numberi […]
Continue readingphp计算两个gps点之间的距离
下面是php计算两个gps点距离的函数: php计算两个gps点之间的距离mysql计算两gps坐标的距离ja […]
Continue readingphp的wamp服务器的wampapache启动时遇到80端口被system占用的解决方法
1. 安装完wamp并启动,图标是红色的: 2. 启动服务(在状态栏对应的图标上单击左键): 3. 启动后图标 […]
Continue readingthinkphp框架配置
thinkphp框架配置 从官网http://www.thinkphp1.cn下载thinkphp框架 把下载 […]
Continue readingallowedmemorysizeofaaaaabytesexhaustedtriedtoallocatebbbbbbytes
php使用mysql是报了这个错 翻译过来是aaaaaa字节大小的内存耗尽(试图分配bbbbb字节的时候) 如 […]
Continue readingphp之类特性
对象向下传递特性 当一个对象调用一个实例方法,然后再该方法中又去静态调用另一个类的方法,则在被静态调用的方法中 […]
Continue readingphp之有关类和对象的系统函数与运算符
系统函数 class_exists() 判断某个类是否存在interface_exists() 判断接口是否存 […]
Continue reading