原来以为thinkPHP的 model 就和PHPCMS一样 就起到一个连接数据库的作用,今天看了视频,才发现这个也是 mvc中的m使用方法可以使用 D() 方法下面是 UserControllerdisplay(); } /**-- 登陆页面 --**/ public function lo...
分类:
Web程序 时间:
2014-10-14 19:27:19
阅读次数:
250
根据android四大框架来解说安全机制代码安全java不同于C/C++,java是解释性语言,存在代码被反编译的隐患;默认混淆器为proguard,最新版本为4.7;proguard还可用来压缩、优化java字节码,删除无用的类、字段、方法、属性、注释等。配置方法为在Android.mk中设置LO...
分类:
移动开发 时间:
2014-10-14 11:28:28
阅读次数:
197
linux+php5.1.6+mysql5.0.2+apache2.0.55安装配置说明:一、mysql5.0.2的安装配置过程及说明:1、#tar -zvxf mysql-5.0.2-alpha.tar.gz2、cd mysql5.0.23、./configure --prefix=/usr/lo...
分类:
数据库 时间:
2014-10-13 19:11:27
阅读次数:
286
故障:1、/etc/sysconfig/network-scripts目录下无ifcfg-eth02、ifconfig命令无eth0,仅显示lo解决方法:一、如果输入ifconfig,没有eth0:,那你需要安装网卡驱动,如下:ubuntu中查看网卡类型及是否安装网卡驱动程序1输入:lspci或者lspci–v或lspci–vv会显示所有的硬件信息和..
分类:
其他好文 时间:
2014-10-13 15:30:50
阅读次数:
359
http://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=973 1 #include 2 #include 3 #include 4 #define ll lo...
分类:
其他好文 时间:
2014-10-13 02:54:08
阅读次数:
179
This is a very good linked list question, as there are tricky cases you have to consider, and getting them all right in one place is harder than it lo...
分类:
其他好文 时间:
2014-10-12 05:54:07
阅读次数:
161
环境: centOS 6.5 装在U 盘中的。可以随身带 说明: 我在一台机器上在U盘上装好系统以后,网络什么的都能正常使用,然后我换到另一台机器的时候问题出现了。 就是无法使用网络。表现: # ifconfig 只显示lo # ifconfig -a 显示lo 和 eth1 没 eth...
分类:
系统相关 时间:
2014-10-11 12:03:15
阅读次数:
271
Problem:Given a stringS, find the longest palindromic substring inS. You may assume that the maximum length ofSis 1000, and there exists one unique lo...
分类:
其他好文 时间:
2014-10-11 02:20:24
阅读次数:
227
将原来的虚拟机文件迁移到另一台机子之后。
ifconfig显示只有一个lo网卡,网上找了一些文章,大多是修改/etc/network/interfaces
原来内容是
# #######################################################
# This file describes the network interfaces available...
分类:
系统相关 时间:
2014-10-10 21:27:14
阅读次数:
226
2012年3月11日dlut周赛1002LOVELY-POINTTimeLimit:1 SecondMemoryLimit:32 MegabyteTotalsubmit:154Accepted:42DescriptionLolihunter loves Lolita,To tell while lo...
分类:
其他好文 时间:
2014-10-10 13:03:54
阅读次数:
158