控制器定义的模板对应相应的数据表 也对应相应的视图html文件 <?phpnamespace Home\Model;use Think\Model;class UserModel extends Model{ protected $trueTableName='user'; //用户注册 publi ...
分类:
其他好文 时间:
2016-03-29 16:27:25
阅读次数:
114
1. use database_name; 2. set names utf8; (或其他需要的编码) 3. source example.sql (sql文件存放路径) Mysql安装目录数据库目录/var/lib/mysql/配置文件/usr/share/mysql(mysql.server命令 ...
分类:
数据库 时间:
2016-03-29 16:22:21
阅读次数:
270
要让session跨域共享,需要解决三个问题: 1、通过什么方法来传递session_id? 2、通过什么方法来保存session信息? 3、通过什么方法来进行跨域 一、传递session_id有4种方法 1、 通过cookie 2、 设置php.ini中的session.use_trans_sid ...
分类:
其他好文 时间:
2016-03-29 16:15:36
阅读次数:
149
AutoInvoice in Oracle Apps R12 AutoInvoice is a powerful, flexible tool you can use to import and validate transaction data from other financial syste ...
分类:
移动开发 时间:
2016-03-29 12:46:55
阅读次数:
283
Ehcache is an open source, standards-based cache that boosts performance, offloads your database, and simplifies scalability. It's the most widely-use ...
分类:
系统相关 时间:
2016-03-28 21:47:37
阅读次数:
222
$(document).on("click","#a",function(){alert(1)}) [#document] as a replacement of previous delegate etc.. event capture netscape 和 微软 曾经的战争还是比较火热的,当时, ...
分类:
Web程序 时间:
2016-03-28 14:58:40
阅读次数:
232
首先我们要搭建三个窗体。 FrmLogin FrmRegister FrmMain 2.我们先看一下第一个窗体的代码 首先我们先双击窗体进入代码页面 ? 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 public Use ...
分类:
移动开发 时间:
2016-03-27 12:37:54
阅读次数:
487
稍微书上代码不适合。 var btns = Ext.select('input'); 需要更改为: var btns = Ext.select('input', true); 不然报错: [E] Ext.dom.Fly.addListener(): Cannot use addListener() ...
分类:
Web程序 时间:
2016-03-27 11:01:48
阅读次数:
198
Q: Could we XML or Json for the code development? A: Yes you can BUT only for using it as a proxy of database to store data of entity classes. Use it ...
分类:
其他好文 时间:
2016-03-27 11:01:33
阅读次数:
148
Chapter 4:Direct3D Initialzation
4.7 EXERCISES
1. Modify the previous exercise solution by disabling the ALT-ENTER functionality to switch between full screen and windowed mode;
use the IDXGIF...
分类:
其他好文 时间:
2016-03-27 01:52:07
阅读次数:
717