摘要: 阅读全文
posted @ 2020-09-24 00:13 张三_zhangsan 阅读(90) 评论(0) 推荐(0) 编辑
摘要: 个人理解的Tcp SYN:synchronous建立联机 seq:随机序号 ack :确认号 阅读全文
posted @ 2020-09-23 23:59 张三_zhangsan 阅读(103) 评论(0) 推荐(0) 编辑
摘要: SQL标准定义了4类隔离级别,包括了一些具体规则,用来限定事务内外的哪些改变是可见的,哪些是不可见的。低级别的隔离级一般支持更高的并发处理,并拥有更低的系统开销。Read Uncommitted(读取未提交内容)在该隔离级别,所有事务都可以看到其他未提交事务的执行结果。本隔离级别很少用于实际应... 阅读全文
posted @ 2014-05-28 15:42 张三_zhangsan 阅读(256) 评论(0) 推荐(0) 编辑
摘要: 一、乱码产生的原因新安装的centos操作系统经常会出现中文显示乱码的情况,这主要是在安装的时候选择了非中文语言环境从而导致系统不支持中文引起的。二、解决方法1、安装中文环境支持包[root@centos ~]# yum groupinfoChinese-supportLoaded plugi... 阅读全文
posted @ 2014-05-27 16:50 张三_zhangsan 阅读(2511) 评论(0) 推荐(0) 编辑
摘要: http://www.cnblogs.com/siqi/(小宋宋)http://licaption.blog.163.com/(小锋锋) 阅读全文
posted @ 2014-05-15 10:55 张三_zhangsan 阅读(91) 评论(0) 推荐(0) 编辑
摘要: #运行用户user nobody;#启动进程,通常设置成和cpu的数量相等worker_processes 1;#全局错误日志及PID文件#error_log logs/error.log;#error_log logs/error.lognotice;#error_log logs/erro... 阅读全文
posted @ 2014-05-15 10:48 张三_zhangsan 阅读(622) 评论(0) 推荐(0) 编辑
摘要: 雅虎给出了优化网站加载速度的34条法则(包括Yslow规则22条) 详细说明,1.Minimize HTTP Requests 减少HTTP请求图片、css、script、flash等等这些都会增加http请求数,减少这些元素的数量就能减少响应时间。把多个JS、CSS在可能的情况下写进一个文件... 阅读全文
posted @ 2014-05-15 10:36 张三_zhangsan 阅读(330) 评论(0) 推荐(0) 编辑
摘要: inputid="keyw"class="greeninput"type="text"autofocus="autofocus"value="请输入房源特征,地点或小区名..."name="q"autocomplete="off">id="search"href="/xiaoqu/">//小区... 阅读全文
posted @ 2014-04-28 10:45 张三_zhangsan 阅读(210) 评论(0) 推荐(0) 编辑
摘要: 一、直接在控制器里面自定义一个普通函数include_once("libs/Smarty.class.php"); // 包含smarty类文件$smarty=new Smarty(); //建立smarty实例对象$smarty //设置作用边界符 默认是{} 一般用$smarty->le... 阅读全文
posted @ 2014-03-31 14:06 张三_zhangsan 阅读(535) 评论(0) 推荐(0) 编辑
摘要: class ScoreEncrypt { publicstatic function Jiami($txt, $key = null) {empty($key) && $key = SECURE_CODE;//有mcrypt扩展时if(function_exists('mcrypt_modul... 阅读全文
posted @ 2014-03-03 13:13 张三_zhangsan 阅读(251) 评论(0) 推荐(0) 编辑