1.Merge a range of revisions 2.Reintegrate a branch 3.Merge two different trees —————————————————————————————————————————————————————— 以下是转载自chunanyong的一篇关于svn分支合并类型的文章,出处:http://chunanyong.iteye.com/blog/697255 合并的工作是 把主干或者分支上合并范围内的所有改动列出,并对比当前工作副本的…
1. 在web容器中设置(此处以tomcat为例) 在tomcat-6.0\conf\web.xml中设置,以下是tomcat 6.0中的默认配置: <!-- ==================== Default Session Configuration ================= --> <!-- You can set the default session timeout (in minutes) for all newly --> <!-- create…
记录一下PHP连接MySQL的三种方式. 先mock一下数据,可以执行一下sql. /*创建数据库*/ CREATE DATABASE IF NOT EXISTS `test`; /*选择数据库*/ USE `test`; /*创建表*/ CREATE TABLE IF NOT EXISTS `user` ( name ), age int ); /*插入测试数据*/ ), (), (); 第一种是使用PHP原生的方式去连接数据库.代码如下: <?php $host = 'localhost';…