- 博客(7)
- 收藏
- 关注
转载 chrome写通知消息
if(window.Notification && Notification.permission !== "denied") { Notification.requestPermission(function(status) { // 请求权限 ...
2017-05-24 13:43:00
147
转载 君哥求解
function websocketClass(a) { var b = this; this.wsobj = !1, this.wshost = "", this.onopen = function () {}, this.onmessage = fu...
2017-05-24 09:14:00
90
转载 curl 设置超时
<?php if(!isset($_GET['foo'])){ //Client $ch=curl_init('http://example.com/'); curl_setopt($ch,CURLOPT_RETURNTRANSFER,true); curl_setopt($ch,C...
2016-11-09 17:18:00
81
转载 php的Reflaction解决实例化对象参数不确定的问题
转载于:https://my.oschina.net/u/2416644/blog/784916
2016-11-09 17:18:00
86
转载 linux node的配置
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.31.1/install.sh | bash 或者 wget -qO- https://raw.githubusercontent.com/...
2016-11-09 17:18:00
106
转载 visualCaptcha验证码开发(php)
https://github.com/emotionLoop/visualCaptcha 服务器端(php) demo是基于slim框架进行开发,如果项目用的slim框架开发应该很容易,因为我的代码不是基于这个框架,所以我读了下他的代码,希望对读者有帮助。 基本流程就是 1.ajax请求 ...
2016-11-09 17:18:00
139
转载 thinkphp 提示操作数据库提示:数据对象错误
很简单的问题结果浪费我一晚上的时间,问题的缘由是我在创建好数据表后写了一条add操作,后来发现数据表有些问题,又在数据表上增加了新的字段,然后再执行add操作,就发现出现数据对象错误的问题。 看代码: /** * 对保存到数据库的数据进行处理 * @access pro...
2016-07-14 08:27:00
179
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人