phpMyAdmin跨站脚本漏洞

On 2008-06-24, in 手记, by David

使用phpMyAdmin的朋友注意,请升级到最新的2.11.7版本。
2.11.7及之前版本存在跨站脚本攻击漏洞。

Tagged with:
 

放弃CakePHP

On 2007-04-03, in 涂鸦, by David

最近写个小东西,找个框架减少开发量。
一开始使用CakePHP,发现调试非常不方便,重点是手册也不是很好。

换吧,又看了一圈,选中CodeIgniter
手册比较喜欢,有好的手册,就方便很多。推荐一把。
小的程序也不一定需要采用MVC,只要VC就足够了。Helper很强。。。

Tagged with:
 

PHP5 学习:TXT部分

On 2005-01-28, in 涂鸦, by David

Learning PHP 5
By David Sklar

Publisher : O’Reilly
Pub Date : June 2004
ISBN : 0-596-00560-1
Pages : 368

Chapter:Text

Continue reading »

Tagged with:
 

eAccelerator 安装

On 2005-01-02, in 涂鸦, by David

主页:eAccelerator

需要:
apache 1.3, apache 2.0 (prefork), mod_php4/5, autoconf, automake, libtool, m4

兼容性:
PHP 4.1.0-4.3.3
Redhat Linux 7.0, 7.3, 8.0, 9.0, Fedora Core 1,2,3,FreeBSD,Windows
Apache 1.3 and 2.0.

Continue reading »

Tagged with:
 

测试结果:
1.当数组大于4左右时,引用的速度就快过了赋值;
2.当数组大于150左右时,引用快于赋值的速度能得到实际收益。

注意:测试在win系统下使用Apache/1.3.29 (Win32) PHP/4.3.6 测得
测试误差在5%-10%之间。

Continue reading »

Tagged with: