Chinaunix首页 | 论坛 | 博客
  • 博客访问: 941719
  • 博文数量: 80
  • 博客积分: 2380
  • 博客等级: 大尉
  • 技术积分: 1049
  • 用 户 组: 普通用户
  • 注册时间: 2010-04-14 11:06
个人简介

Only to find a successful way, not to find excuses for failure!

文章分类

全部博文(80)

文章存档

2016年(2)

2015年(4)

2014年(10)

2013年(10)

2012年(7)

2011年(17)

2010年(30)

发布时间:2013-04-11 00:07:23

OS:centos 5.6 x321.添加源wget -q -O - http://www.atomicorp.com/installers/atomic | sh2.排除php5.3的包,我们只需要php5.2.17vim /etc/yum.conf exclude=*5.3.* 3.安装yum install php php-cli php-gd php-mysql php-eaccelerator \ php-zend-optimizer  php-pear php-snmp php-bcma.........【阅读全文】

阅读(10617) | 评论(0) | 转发(0)

发布时间:2013-01-22 22:24:27

主要是判断HTTP_USER_AGENT//屏蔽蜘蛛访问    function banspider($ban_str){         if(preg_match("/($ban_str)/i", $_SERVER['HTTP_USER_AGENT']))        {        &nb.........【阅读全文】

阅读(3036) | 评论(0) | 转发(0)

发布时间:2013-01-21 19:08:48

<?phpfunction rand_string($len = 16, $keyword = '') {    if (strlen($keyword) > $len) {//关键字不能比总长度长        return false;    }    $str = '';    $chars = 'abcdefghijkmnpqrstuvwxyz23456789ABCDEFGHIJKMNPQRSTUVWXYZ'; //去掉1跟.........【阅读全文】

阅读(4094) | 评论(0) | 转发(0)
给主人留下些什么吧!~~

我不专业2010-10-25 08:55

相互学习,多多指导哦

回复  |  举报

大鬼不动2010-10-22 07:54

回复  |  举报

zhuzusong2010-09-13 10:34

回复  |  举报

flb_20012010-08-23 07:50

回复  |  举报

zhuzusong2010-08-19 08:43

回复  |  举报
留言热议
请登录后留言。

登录 注册