会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
刘满私人博客
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
下一页
2015年7月20日
js常用函数
摘要: //js 中的算术运算Math.pow(2,53) // => 9007199254740992: 2 的 53次幂 Math.round(.6) // => 1.0: 四舍五入 Math.ceil(.6) // => 1.0: 向上求整 Math.floor(...
阅读全文
posted @ 2015-07-20 18:23 刘满blog
阅读(183)
评论(0)
推荐(0)
2015年7月16日
laravel常用artisan命令
摘要: //创建新表php artisan migrate:make create_表名_table --create=表名//填充数据php artisan db:seed//添加字段php artisan migrate:make add_添加信息_to_表名_table --table=表名//执行迁...
阅读全文
posted @ 2015-07-16 13:10 刘满blog
阅读(832)
评论(0)
推荐(0)
Laravel请求和输入
摘要: 获取基本输入信息: 1 //获取输入数据,不用担心所使用的HTTP方法 2 $id = Input::get('id'); 3 4 //可以指定默认值 5 $id = Input::get('id', 1); 6 7 //检测提交信息是否存在 8 if(Input::has('id')) 9 {...
阅读全文
posted @ 2015-07-16 12:59 刘满blog
阅读(394)
评论(0)
推荐(0)
2015年7月14日
php写入数据中断解决方案
摘要: php.ini中将max_execution_time = 30改为max_execution_time = 0
阅读全文
posted @ 2015-07-14 12:15 刘满blog
阅读(288)
评论(0)
推荐(0)
mysql数据库优化
摘要: 数据库地址不能写localhost要用127.0.0.1[mysqld]skip-name-resolve #取消dns解析skip-grant-tables#不需要密码thread_concurrency=8#CPU合数*2
阅读全文
posted @ 2015-07-14 12:05 刘满blog
阅读(103)
评论(0)
推荐(0)
2015年7月12日
php函数嵌套
摘要: 1 public function fn1(){2 global $str;3 $str='liuman';4 function fn2(){5 echo $GLOBALS['str'];6 } 7 }
阅读全文
posted @ 2015-07-12 23:24 刘满blog
阅读(149)
评论(0)
推荐(0)
AJAX文件上传
摘要: 1 var fileObj = document.getElementById('file').files[0]; 2 // js 获取文件对象 3 var FileController = url; 4 // 接收上传文件的后台地址 5 6 // FormDat...
阅读全文
posted @ 2015-07-12 13:13 刘满blog
阅读(172)
评论(0)
推荐(0)
2015年7月11日
canvas礼花小程序
摘要: 1 2 3 4 5 6 7 8 9 226 227
阅读全文
posted @ 2015-07-11 14:35 刘满blog
阅读(903)
评论(0)
推荐(0)
JavaScript提取数组内所有元素
摘要: 1 var arrN = [[[1, "wangyuchu", 54, [123, 34, [123, 34, 16]]],"zhangsan", 25, [1, "wangyuchu", 54, [123, 34, [123, 34, [1, "wangyuchu", 54, [123, 34,...
阅读全文
posted @ 2015-07-11 14:14 刘满blog
阅读(3550)
评论(0)
推荐(0)
2015年6月6日
xdebug|notepad|DBGP
摘要: php 5.4http://xdebug.org/download.phpPHP 5.4 VC9 (64 bit)php_xdebug-2.2.6-5.4-vc9.dll拷贝到PHP的ext的目录中php.inidisplay_errors = Off 改 display_errors = on添加...
阅读全文
posted @ 2015-06-06 15:11 刘满blog
阅读(279)
评论(0)
推荐(0)
上一页
1
2
3
下一页
公告