博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

04 2012 档案

摘要:window.location.replace(cc);parent.location.replace(parent.location.href); 阅读全文

posted @ 2012-04-25 17:42 bug yang 阅读(407) 评论(0) 推荐(0)

摘要:$pid = pcntl_fork(); //这里最好不要有其他的语句 if ($pid == -1) { die('could not fork'); } else if ($pid) { // $p[$pid] = 'ok'; //echo "we are the parent\n"; //pcntl_wait($status); //Protect against Zombie children } else { $id = posix_getpid(); echo ... 阅读全文

posted @ 2012-04-15 21:07 bug yang 阅读(1410) 评论(0) 推荐(0)

摘要:1、百度搜索研发部:http://stblog.baidu-tech.com/?p=763深入PHP使用技巧之变量http://stblog.baidu-tech.com/?p=1221PHP性能:http://stblog.baidu-tech.com/?p=1343在C/C++等能够在静态编译阶段确定的变量、函数,在PHP中需要在动态运行中确定,也就决定了PHP中间码不能直接运行而需要运行在Zend Engine上。CGI解释器的反复加载是CGI性能低下的主要原因,如果CGI解释器保持在内存中并接受FastCGI进程管理器调度,则可以提供良好的性能、伸缩性、Fail- Over特性等等。  阅读全文

posted @ 2012-04-11 23:59 bug yang 阅读(8106) 评论(0) 推荐(2)

摘要:深入浅出之正则表达式(一):http://www.cnblogs.com/dragon/archive/2006/05/08/394078.html深入浅出之正则表达式(二)http://www.cnblogs.com/dragon/archive/2006/05/09/394923.html正则表达式语法:1、http://www.5idev.com/p-php_regular_syntax_1.shtml2、http://www.5idev.com/p-php_regular_syntax_2.shtml 阅读全文

posted @ 2012-04-09 16:37 bug yang 阅读(198) 评论(0) 推荐(0)

摘要:javascript获取事件触发源:<html> <head> <title></title> <script type="text/javascript"> function focusM(ev){ ev = ev || window.event; // 事件 var target = ev.target || ev.srcElement; // 获得事件源 var dragObj = target.getAt... 阅读全文

posted @ 2012-04-06 10:04 bug yang 阅读(1341) 评论(0) 推荐(0)

摘要:一、PHP Manual 下载地址:http://www.cr173.com/soft/27255.html二、记录:htmlspecialchars() 阅读全文

posted @ 2012-04-05 16:23 bug yang 阅读(187) 评论(0) 推荐(0)