今天下午刚起来眼睛就比较涨,,而且还有点恶心,唉,结果一直不在状态,而且这个题太坑了。。。。
点击此处即可传送 Hit 2255Maybe ACMers of HIT are always fond of fibonacci numbers, because it is so beautiful. Don't you think so? At the same time, fishcanfly a...
分类:
其他好文 时间:
2015-08-14 21:30:32
阅读次数:
117
学了两个多月,一些基本概念还是没搞清,要加把劲了。直接上题(题目出处,大叔系列),有几题我做了点补充,答案放后面,还没做过的同学可以先自己思考思考。if (!('a' in window)) { var a = 1;}alert(a);var a = 1,b = function a(x) {...
分类:
编程语言 时间:
2015-08-14 13:32:43
阅读次数:
131
问题:
Fatal
error: Call to undefined function Think\imagettftext() in /var/www/webreg/ThinkPHP/Library/Think/Verify.class.php on line 143
查看phpinfo()后得知,gd中没有freetype的支持
解决:
首先安装freestyle,php-gd...
分类:
系统相关 时间:
2015-08-14 06:32:03
阅读次数:
596
核心类
<?php
//?+----------------------------------------------------------------------
//?|?Thinkphp?[?WE?CAN?DO?IT?JUST?THINK?IT?]
//?+----------------------------------------------...
分类:
Web程序 时间:
2015-08-12 13:31:21
阅读次数:
189
一、生成验证码 1、commonController.class.php $Verify = new \Think\Verify(); $Verify->entry();二、验证码检测 $verify = new \Think\Verify(); return $verify...
分类:
其他好文 时间:
2015-08-12 12:54:00
阅读次数:
120
//更新 更新中的话,一定要写那一个if判断 public function update(){ $model = M('link'); $upload = new \Think\Upload();// 实例化上传类 ...
分类:
Web程序 时间:
2015-08-12 06:40:28
阅读次数:
238
What do you think of interfaces?
对于接口,你怎么看?
You mean a Java or C# interface?
你是说Java或者C#的接口吗?
Yes, are interfaces a good language feature?
是的,接口是一种好的语言特性吗?
Of course, they're great!
当然了...
分类:
其他好文 时间:
2015-08-11 23:31:42
阅读次数:
201
Matlab is a very useful programming environment, but it also has many inefficiencies. You might think that these are unavoidable, but in fact it is po...
分类:
其他好文 时间:
2015-08-11 22:50:59
阅读次数:
109
$Table = M('Table'); $count = $Table ->where()->count(); $Page = new \Think\Page($count,10); //自定义分页样式 $Page -> setConfig('next','下一页'); $Page ...
分类:
Web程序 时间:
2015-08-11 20:49:35
阅读次数:
174
Rbac,基于角色的权限管理系统,可以很好的管理后台,需要5张表,Thinkphp提供了4张,分别是,角色表,节点表,权限表,角色和用户的中间表。我们需要自己创建一张用户表。TP提供的4张表:CREATE TABLE IF NOT EXISTS `think_access` ( `role_id`....
分类:
Web程序 时间:
2015-08-11 07:15:36
阅读次数:
190