上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 37 下一页
摘要: 以下的文章主要介绍的是正确修改MySQL最大连接数的三种好用方案,我们大家都知道MySQL数据库在安装完之后,默认的MySQL数据库,其最大连接数为100,一般流量稍微大一点的论坛或网站这个连接数是远远不够的,增加默认MySQL连接数的方法有两个。方法一:进入MySQL安装目录 打开MySQL配置文... 阅读全文
posted @ 2015-04-02 16:57 jshaibozhong 阅读(441) 评论(0) 推荐(0)
摘要: 三个功能:1.查人品,回复RP名字,如RP张三 2.笑话,则回复笑话+日期,如:笑话20140319 3.看天气,回复城市名称,如TQ北京什么也不说,只上代码,index.phpresponseMsg();}else{ $wechatObj->valid();}class wechatCall... 阅读全文
posted @ 2015-04-02 00:53 jshaibozhong 阅读(299) 评论(0) 推荐(0)
摘要: linux中直接用"php"命令来执行php文件一般在linux命令行下运行php文件的代码:XML/HTML代码linux下执行:#php安装路径 -f php文件路径 例如:/opt/modules/php/bin/php -f /opt/data/www/yoururl/index.php... 阅读全文
posted @ 2015-03-21 22:59 jshaibozhong 阅读(185) 评论(0) 推荐(0)
摘要: ",">",$note); $note = preg_replace("/[ ]{1,}/isu"," ",$note); echo getsubstr($note,100); ?> 阅读全文
posted @ 2015-02-28 18:08 jshaibozhong 阅读(519) 评论(0) 推荐(0)
摘要: 1 "; 6 7 echo "今天:",date("Y-m-d",strtotime("18 june 2008")),""; 8 9 echo "昨天:",date("Y-m-d",strtotime("-1 day")), "";10 11 echo "明天:",date("Y-m-d",... 阅读全文
posted @ 2015-02-17 12:59 jshaibozhong 阅读(11139) 评论(0) 推荐(0)
摘要: 类如 有一个帖子的回复表,posts( id , tid , subject , message , dateline ) ,id 为 自动增长字段, tid为该回复的主题帖子的id(外键关联), subject 为回复标题, message 为回复内容, dateline 为回复时间,用UNI... 阅读全文
posted @ 2015-02-16 17:03 jshaibozhong 阅读(15591) 评论(1) 推荐(0)
摘要: 获取UNIX时间戳 : UNIX_TIMESTAMP(NOW())1.1 获得当前日期+时间(date + time)函数:now()除了 now() 函数能获得当前的日期时间外,MySQL 中还有下面的函数:current_timestamp() current_timestamplocalt... 阅读全文
posted @ 2015-02-12 20:38 jshaibozhong 阅读(2422) 评论(0) 推荐(0)
摘要: 所属医院: "/> 阅读全文
posted @ 2015-02-12 19:31 jshaibozhong 阅读(251) 评论(0) 推荐(0)
摘要: 1、数据库连接配置页面:connectvars.php2、登录页面:logIn.php Mismatch - Log In Msimatch - Log In '.$error_msg.''; ... 阅读全文
posted @ 2015-02-12 11:37 jshaibozhong 阅读(401) 评论(0) 推荐(0)
摘要: update table2 b,(select b.area_id as arid,sum(a.user_amount) as bcountfrom table1 a,table2 bwhere a.user_area=b.area_idgroup by arid) cset b.count=c.b... 阅读全文
posted @ 2015-02-11 20:46 jshaibozhong 阅读(1072) 评论(0) 推荐(0)
上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 37 下一页