我们在Discuz论坛发一个帖子,这个帖子里面有一张图片,这个图片的所在位置是在/data/www/data/p_w_upload/forum/下生成新的目录,图片在这个目录里。所以我们针对这个/data/www/data目录做“限制解析”,编辑“虚拟主机配置文件”[root@LAMPLINUX~]#vim/usr/local/apache2/con..
分类:
Web程序 时间:
2015-07-11 18:45:23
阅读次数:
205
Thinking in StatesNiclas Nilsson
PEOPLE IN THE REAL WORLD HAVE A WEIRD RELATIONSHIP WITH STATE.
This morning, I stopped by the local store to prepare for another day of con- verting caffeine to code....
分类:
其他好文 时间:
2015-07-11 09:06:25
阅读次数:
128
最近SLQ正在讲二分……感觉NOIP连考两年二分(聪明的质检员、借教室)也真是……二分加前序和,水过。//NOIRP:题目没说用long long啊,出题人你坑我= =//出题人:(怪我咯?)10^9*10^6你不会算? 1 #include 2 using namespace std; 3 con...
分类:
其他好文 时间:
2015-07-10 22:05:10
阅读次数:
116
stringsql="SELECTCOUNT(Mobile)mcountFROMdbo.Yuanboguoji_studentWHEREMobile='"+txtMobile.Text.Trim()+"'";DataSetds=DbHelperSQL.Query(sql);intmcount=Con...
分类:
Web程序 时间:
2015-07-10 14:51:59
阅读次数:
157
题目连接http://acm.hdu.edu.cn/showproblem.php?pid=1195Open the LockDescriptionNow an emergent task for you is to open a password lock. The password is con...
分类:
其他好文 时间:
2015-07-10 12:41:47
阅读次数:
101
一 .JDBC主要的API介绍JDBC为开发人员提供了一套标准的API,都是由JAVA语言编写的类和接口。用于连接数据库和执行SQL语句。JDBC也是JAVA核心类库的一部分,位于Java.sql包下。JDBC包含的核心API主要有以下几个:DriverManager:管理一组JDBC驱动程序Con...
分类:
数据库 时间:
2015-07-10 11:04:29
阅读次数:
228
btn2.css /*--按钮1--*/
.container1?{
??width:200px;
??display:block;
??margin:20px?auto;
??position:relative;
??font-family:droid?arabic?kufi;
}
.con_down1?{
??display:block;
??...
分类:
其他好文 时间:
2015-07-09 16:23:12
阅读次数:
205
1 #include 2 #include 3 #include 4 #include 5 #include 6 #include 7 #define PAU putchar(' ') 8 #define ENT putchar('\n') 9 using namespace std;10 con....
分类:
其他好文 时间:
2015-07-09 12:43:24
阅读次数:
131
这是我学习链接数据库写的代码 没写完 先放这 以后在补充con = mysql_connect(self::$sname,self::$uname,self::$pword);if(!$this->con){ die("cound no connect:".mysql_error());}}p...
分类:
数据库 时间:
2015-07-09 10:55:24
阅读次数:
150
构造者模式先复制粘贴一下构造者模式的定义:Builder模式是一种对象创建型模式之一,用来隐藏复合对象的创建过程,它把复合对象的创建过程加以抽象,通过子类继承和重载的方式,动态地创建具有复合属性的对象。构造者有四种角色组成:Builder:是为创建一个Product对象的各个部件指定的抽象接口Con...
分类:
其他好文 时间:
2015-07-09 06:16:46
阅读次数:
96