摘要:window.location.replace(cc);parent.location.replace(parent.location.href);
阅读全文
posted @ 2012-04-25 17:42
04 2012 档案
摘要:window.location.replace(cc);parent.location.replace(parent.location.href);
阅读全文
posted @ 2012-04-25 17:42
摘要:$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
摘要: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
摘要:深入浅出之正则表达式(一):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
摘要: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
摘要:一、PHP Manual 下载地址:http://www.cr173.com/soft/27255.html二、记录:htmlspecialchars()
阅读全文
posted @ 2012-04-05 16:23
|
||