ThinkPHP访问流程在手册1.11系统流程里就有介绍,我阅读的ThinkPHP的版本是3.1.3,大家可以看下手册,基本的流程也有,现在就是详细去介绍一下ThinkPHP的访问流程.(调试模式下的,在部署模式下,会把中间的URL解析,文件加载之类的,都封装到一个文件里)1.入口文件(index.php)入口文件..
分类:
Web程序 时间:
2014-05-27 03:34:01
阅读次数:
266
【题目】
Suppose a sorted array is rotated at some pivot unknown to you beforehand.
(i.e., 0 1 2 4 5 6 7 might become 4 5 6 7 0 1 2).
You are given a target value to search. If found in the array return its index, otherwise return -1.
You may assume no du...
分类:
其他好文 时间:
2014-05-22 10:43:12
阅读次数:
310
【题目】
Given a sorted array and a target value, return the index if the target is found. If not, return the index where it would be if it were inserted in order.
You may assume no duplicates in the array.
Here are few examples.
[1,3,5,6], 5 → 2
[1,3,5,6]...
分类:
其他好文 时间:
2014-05-22 09:41:59
阅读次数:
195
1、HttpClient相关的重要资料:
官方网站:http://hc.apache.org/
API:http://hc.apache.org/httpcomponents-client-4.3.x/httpclient/apidocs/index.html
tutorial: http://hc.apache.org/httpcomponents-client-4.3.x/tutoria...
分类:
其他好文 时间:
2014-05-22 08:03:03
阅读次数:
259
android开发环境的搭建本文使用集成的ADT
bundle来搭建android开发环境,所谓bundle就是谷歌搭建好的一个eclipse+sdk集成环境。需要下载的软件列表如下:1、ADT
bundle:http://developer.android.com/sdk/index.html进入...
分类:
移动开发 时间:
2014-05-22 05:47:03
阅读次数:
312
1、相关资料
官方文档:http://htmlparser.sourceforge.net/samples.html
API:http://htmlparser.sourceforge.net/javadoc/index.html
其它HTML 解释器:jsoup等。由于HtmlParser自2006年以后就再没更新,目前很多人推荐使用jsoup代替它。
2、相关知识
(1)通过...
分类:
Web程序 时间:
2014-05-21 16:49:07
阅读次数:
288
Given an array of non-negative integers, you
are initially positioned at the first index of the array.Each element in the
array represents your maximu...
分类:
其他好文 时间:
2014-05-21 04:39:53
阅读次数:
332
一个例子的死锁分析:环境:innodb引擎,RC隔离级别;死锁信息:RECORD LOCKS
space id 0 page no 1492482 n bits 904 index `unit_id` of table
`51fshenzhen`.`t_refresh_queue` trx id E...
分类:
数据库 时间:
2014-05-21 04:27:37
阅读次数:
578
安装好mysql数据库后,直接在安装的目录下/usr/local/mysql下新建了一个目录data用于存放数据,建好后,直接去启动数据库,发现启动不了,出现如下报错:mysqld_safeStartingmysqlddaemonwithdatabasesfrom/usr/local/mysql/data/usr/local/mysql/libexec/mysqld:File‘./mysql-..
分类:
数据库 时间:
2014-05-21 01:32:42
阅读次数:
378
<script>parent.location.href=‘../Index.aspx‘</script>
分类:
Web程序 时间:
2014-05-20 19:50:20
阅读次数:
332