<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[ApaChe.V'sPace]]></title><description><![CDATA[PHP  I Like it]]></description><link>https://blog.youkuaiyun.com/stefenjun</link><language>zh-cn</language><generator>https://blog.youkuaiyun.com/</generator><copyright><![CDATA[Copyright &copy; stefenjun]]></copyright><item><title><![CDATA[Debian 下搭建php-fastcgi方式，nginx]]></title><link>https://blog.youkuaiyun.com/stefenjun/article/details/3933060</link><guid>https://blog.youkuaiyun.com/stefenjun/article/details/3933060</guid><author>stefenjun</author><pubDate>Tue, 24 Feb 2009 17:56:00 +0800</pubDate><description><![CDATA[ 1、首先修改nginx的配置文件（标色的为我修改过或添加过的内容）vim /etc/nginx/conf/nginx.conf#user  nobody;worker_processes  1;#error_log  logs/error.log;#error_log  logs/error.log  notice;#error_log  logs/error.log  info]]></description><category></category></item><item><title><![CDATA[Debian 下编译安装Nginx]]></title><link>https://blog.youkuaiyun.com/stefenjun/article/details/3933052</link><guid>https://blog.youkuaiyun.com/stefenjun/article/details/3933052</guid><author>stefenjun</author><pubDate>Tue, 24 Feb 2009 17:54:00 +0800</pubDate><description><![CDATA[     Nginx (“engine x”) 是俄罗斯人Igor Sysoev(塞索耶夫)编写的一款高性能的 HTTP 和反向代理服务器。Nginx 已经在俄罗斯最大的门户网站── Rambler Media（www.rambler.ru）上运行了3年时间，同时俄罗斯超过20%的虚拟主机平台采用Nginx作为反向代理服务器。      在国内，已经有 新浪博客、新浪播客、网易新闻、六间房、56.]]></description><category></category></item><item><title><![CDATA[IE和FF JS中兼容的一些方法]]></title><link>https://blog.youkuaiyun.com/stefenjun/article/details/3722426</link><guid>https://blog.youkuaiyun.com/stefenjun/article/details/3722426</guid><author>stefenjun</author><pubDate>Tue, 06 Jan 2009 18:08:00 +0800</pubDate><description><![CDATA[1. document.form.item 问题    (1)现有问题：        现有代码中存在许多 document.formName.item("itemName") 这样的语句，不能在 MF 下运行    (2)解决方法：        改用 document.formName.elements["elementName"]      (3)其它        参见 22. 集合类对象]]></description><category></category></item><item><title><![CDATA[Lighttpd phpcgi mysql DEB包的安装]]></title><link>https://blog.youkuaiyun.com/stefenjun/article/details/3634362</link><guid>https://blog.youkuaiyun.com/stefenjun/article/details/3634362</guid><author>stefenjun</author><pubDate>Mon, 29 Dec 2008 09:26:00 +0800</pubDate><description><![CDATA[转移主机，使用了自己搭建的系统，响应速度方面Lighttpd口碑不错，决定使用 Lighttpd来构建新的主机。安装完一基本的debian系统之后，先做一下系统升级。使用命令：aptitude updateaptitude upgrade然后开始安装Lighttpd,php5,mysql，这里参考了文章：Installing Lighttpd With PHP5 And MyS]]></description><category></category></item><item><title><![CDATA[debian 的更新源]]></title><link>https://blog.youkuaiyun.com/stefenjun/article/details/3623747</link><guid>https://blog.youkuaiyun.com/stefenjun/article/details/3623747</guid><author>stefenjun</author><pubDate>Sat, 27 Dec 2008 21:46:00 +0800</pubDate><description><![CDATA[原来用CN99好好的。。不知道什么回事不能更新了。google一下整理出来这些：deb http://security.debian.org/ lenny/updates main contribdeb-src http://security.debian.org/ lenny/updates main contribdeb http://security.debian.org/ lenn]]></description><category></category></item><item><title><![CDATA[HTML:scrollLeft,scrollWidth,clientWidth,offsetWidth到底指的哪到哪的距离之完全详解]]></title><link>https://blog.youkuaiyun.com/stefenjun/article/details/3317797</link><guid>https://blog.youkuaiyun.com/stefenjun/article/details/3317797</guid><author>stefenjun</author><pubDate>Mon, 17 Nov 2008 10:11:00 +0800</pubDate><description><![CDATA[HTML:scrollLeft,scrollWidth,clientWidth,offsetWidth到底指的哪到哪的距离之完全详解scrollHeight: 获取对象的滚动高度。 scrollLeft:设置或获取位于对象左边界和窗口中目前可见内容的最左端之间的距离scrollTop:设置或获取位于对象最顶端和窗口中可见内容的最顶端之间的距离scrollWidth:获取对象的滚动宽度offsetH]]></description><category></category></item><item><title><![CDATA[常用正则笔记]]></title><link>https://blog.youkuaiyun.com/stefenjun/article/details/3226134</link><guid>https://blog.youkuaiyun.com/stefenjun/article/details/3226134</guid><author>stefenjun</author><pubDate>Wed, 05 Nov 2008 14:05:00 +0800</pubDate><description><![CDATA[^/d+$　　//匹配非负整数（正整数 + 0） ^[0-9]*[1-9][0-9]*$　　//匹配正整数 ^((-/d+)|(0+))$　　//匹配非正整数（负整数 + 0） ^-[0-9]*[1-9][0-9]*$　　//匹配负整数 ^-?/d+$　　　　//匹配整数 ^/d+(/./d+)?$　　//匹配非负浮点数（正浮点数 + 0） ^(([0-9]+/.[0-9]*[1-9][0-9]*]]></description><category></category></item><item><title><![CDATA[MySQL decimal 类型]]></title><link>https://blog.youkuaiyun.com/stefenjun/article/details/3224311</link><guid>https://blog.youkuaiyun.com/stefenjun/article/details/3224311</guid><author>stefenjun</author><pubDate>Wed, 05 Nov 2008 10:21:00 +0800</pubDate><description><![CDATA[　　一般赋予浮点列的值被四舍五入到这个列所指定的十进制数。如果在一个FLOAT(8, 1)的列中存储1. 2 3 4 5 6，则结果为1. 2。如果将相同的值存入FLOAT(8, 4) 的列中，则结果为1. 2 3 4 6。这表示应该定义具有足够位数的浮点列以便得到尽可能精确的值。如果想精确到千分之一，那就不要定义使该类型仅有两位小数。　　浮点值的这种处理在MySQL3.23 中有例外]]></description><category></category></item><item><title><![CDATA[Java 笔记－移位运算符]]></title><link>https://blog.youkuaiyun.com/stefenjun/article/details/3120670</link><guid>https://blog.youkuaiyun.com/stefenjun/article/details/3120670</guid><author>stefenjun</author><pubDate>Wed, 22 Oct 2008 00:57:00 +0800</pubDate><description><![CDATA[说明：　　移位运算符　　移位运算符就是在二进制的基础上对数字进行平移。按照平移的方向和填充数字的规则分为三种：>（带符号右移）和>>>（无符号右移）。　　在移位运算时，byte、short和char类型移位后的结果会变成int类型，对于byte、short、char和int进行移位时，规定实际移动的次数是移动次数和32的余数，也就是移位33次和移位1次得到的结果相同。移动long型的数值时，规]]></description><category></category></item><item><title><![CDATA[Php ini_set ini_get可操作配置参数列表]]></title><link>https://blog.youkuaiyun.com/stefenjun/article/details/3109124</link><guid>https://blog.youkuaiyun.com/stefenjun/article/details/3109124</guid><author>stefenjun</author><pubDate>Mon, 20 Oct 2008 10:44:00 +0800</pubDate><description><![CDATA[为了使自己的程序在不同的平台中拥有更好的兼容性，很多时候我们都要获取当前Php的运行环境参数。比 如我们常用到的：获取 magic_quotes_gpc状态，来决定当表单提交时我们是否转义(addslashes)数据；设定max_execution_time来延长 程序的执行时间；设定error_reporting使自己的项目在开发与运营阶段切换；设定memory_limit加大内存等等…in]]></description><category></category></item><item><title><![CDATA[Eclipse3.4配置php plugin]]></title><link>https://blog.youkuaiyun.com/stefenjun/article/details/3100290</link><guid>https://blog.youkuaiyun.com/stefenjun/article/details/3100290</guid><author>stefenjun</author><pubDate>Sun, 19 Oct 2008 10:41:00 +0800</pubDate><description><![CDATA[ 用Zend封装好的用习惯了。昨日突有想法。到Eclipse上看看有没有新的Platform更新。3.4版本，代号为Ganymede，就是它了。下JEE的版本然后找PDT的SDK，还下了WST。下完打开Eclipse才知道已经有WST了，先不管它。配好PHP再说。还是那几步help->software Update->available->add site->local找到]]></description><category></category></item><item><title><![CDATA[寻找最快的 ubuntu／debian 源 sources.list]]></title><link>https://blog.youkuaiyun.com/stefenjun/article/details/3096730</link><guid>https://blog.youkuaiyun.com/stefenjun/article/details/3096730</guid><author>stefenjun</author><pubDate>Sat, 18 Oct 2008 17:54:00 +0800</pubDate><description><![CDATA[ Uubuntu和debian都有很多的源和镜像，也有不少的国内镜像。一些爱好者为了寻找镜像已经自己“憋”出来了一些pl脚本用于寻找最快的镜像。实际上debian的爱好者早准备了更厉害的武器等你来用，就是apt-spy（是间谍还是小偷？哈哈）早就想写出来了。切记先备份你机器里的源列表。误区：通常大家都在交流使用国内的哪个源速度比较快，实际上很多国外源的访问速度是国内的很多倍。记得曾]]></description><category></category></item><item><title><![CDATA[JS中的instanceof和typeof]]></title><link>https://blog.youkuaiyun.com/stefenjun/article/details/3096030</link><guid>https://blog.youkuaiyun.com/stefenjun/article/details/3096030</guid><author>stefenjun</author><pubDate>Sat, 18 Oct 2008 15:32:00 +0800</pubDate><description><![CDATA[      对于instanceof和typeof，以前偶尔的用到过，特别是typeof用到的相对更多一些，今日研究ext源码，很多地方都用到了instanceof，突然觉得他们两个有些相似但也应该有他们区别，网上看了一些文章，对它们之间的关系有了一定的了解。instanceof和typeof都能用来判断一个变量是否为空或是什么类型的变量。typeof用以获取一个变量的类型，typeof一般只能返]]></description><category></category></item><item><title><![CDATA[笔记：JS键盘和鼠标的事件]]></title><link>https://blog.youkuaiyun.com/stefenjun/article/details/3094770</link><guid>https://blog.youkuaiyun.com/stefenjun/article/details/3094770</guid><author>stefenjun</author><pubDate>Sat, 18 Oct 2008 10:32:00 +0800</pubDate><description><![CDATA[ 今天做的小东东，要在弹出层加个事件来关闭。先想到按ESC关闭根据转帖来的js键盘事件代码,先得到onkeydown的事件代码，然后执行.ESC事件的代码为0X1B，十进制表示就为27            Obj.onkeydown = function(){                var VObj = window.event;               ]]></description><category></category></item><item><title><![CDATA[JS鼠标事件(转)]]></title><link>https://blog.youkuaiyun.com/stefenjun/article/details/3094685</link><guid>https://blog.youkuaiyun.com/stefenjun/article/details/3094685</guid><author>stefenjun</author><pubDate>Sat, 18 Oct 2008 10:15:00 +0800</pubDate><description><![CDATA[  一般事件事件浏览器支持描述onClickIE3|N2|O3鼠标点击事件，多用在某个对象控制的范围内的鼠标点击onDblClickIE4|N4|O鼠标双击事件onMouseDownIE4|N4|O鼠标上的按钮被按下了onMouseUpIE4|N4|O鼠标按下后，松开时激发的事件onMouseOve]]></description><category></category></item><item><title><![CDATA[javascript 捕获键盘事件 ]]></title><link>https://blog.youkuaiyun.com/stefenjun/article/details/3094515</link><guid>https://blog.youkuaiyun.com/stefenjun/article/details/3094515</guid><author>stefenjun</author><pubDate>Sat, 18 Oct 2008 09:55:00 +0800</pubDate><description><![CDATA[在很多应用中，用户都希望WEB应用能够在界面上支持一些快捷键，最常见的就是上下左右、TAB、回车等的快捷键支持。抛开在页面上运行Applet、Flash 的方式来对键盘快捷键支持外，利用JavaScript也能够有出色的表现。在对键盘时间的支持上，操作系统提供了一整套的虚拟键键值，要使我们的应用能够很好的支持快捷键，了解这些键值是必不可少的。现将常见的键值列举如下：A 0X]]></description><category></category></item><item><title><![CDATA[JS 处理　FCK的内容]]></title><link>https://blog.youkuaiyun.com/stefenjun/article/details/3075489</link><guid>https://blog.youkuaiyun.com/stefenjun/article/details/3075489</guid><author>stefenjun</author><pubDate>Tue, 14 Oct 2008 19:29:00 +0800</pubDate><description><![CDATA[利用Javascript取和设FCKeditor值也是非常容易的，如下：// 获取编辑器中HTML内容function getEditorHTMLContents(EditorName) {     var oEditor = FCKeditorAPI.GetInstance(EditorName);     return(oEditor.GetXHTML(true)); }// 获取编辑]]></description><category></category></item><item><title><![CDATA[javascript 字符串处理]]></title><link>https://blog.youkuaiyun.com/stefenjun/article/details/2968256</link><guid>https://blog.youkuaiyun.com/stefenjun/article/details/2968256</guid><author>stefenjun</author><pubDate>Tue, 23 Sep 2008 15:47:00 +0800</pubDate><description><![CDATA[  一、声明字符串:var normal_monkey = "I am a monkey!";document.writeln("Normal monkey " + normal_monkey);var bold_monkey = normal_monkey.bold();document.writeln("Bold monkey " + bold_monkey);这里的声明： var]]></description><category></category></item><item><title><![CDATA[几个常用的JavaScript字符串处理函数 - split()、join()、substring()和indexOf()]]></title><link>https://blog.youkuaiyun.com/stefenjun/article/details/2968244</link><guid>https://blog.youkuaiyun.com/stefenjun/article/details/2968244</guid><author>stefenjun</author><pubDate>Tue, 23 Sep 2008 15:45:00 +0800</pubDate><description><![CDATA[经常用到但是每次都要去找，干脆整理出几个自己经常要用的JavaScript字符串处理函数：<!--google_ad_client = "pub-2748932162110627";/* Mac-Minidx-Article-336-280-01 */google_ad_slot = "6863578749";google_ad_width = 336;google_a]]></description><category></category></item><item><title><![CDATA[关闭CI的php notice]]></title><link>https://blog.youkuaiyun.com/stefenjun/article/details/2960144</link><guid>https://blog.youkuaiyun.com/stefenjun/article/details/2960144</guid><author>stefenjun</author><pubDate>Mon, 22 Sep 2008 11:04:00 +0800</pubDate><description><![CDATA[使用CI的时候，如果一个变量没有值，CI就会提示 Undefined，用PHP的开发的人都知道，定义PHP的变量是不需要初始化任何的值，看这notice真烦人，决定关掉它，开始先搜 A PHP Error was encountered 只在error目录中找到error_php.php，不是想要的结果，这文件只是模板，再搜文件名：error_php，在system/libraies中的Excep]]></description><category></category></item></channel></rss>