[ 2019-05-30T11:34:46+08:00 ] 127.0.0.1 /index.php/Admin INFO: [ app_init ] --START-- INFO: Run Behavior\BuildLiteBehavior [ RunTime:0.000027s ] INFO: [ app_init ] --END-- [ RunTime:0.000396s ] INFO: [ app_begin ] --START-- INFO: Run Behavior\ReadHtmlCacheBehavior [ RunTime:0.002032s ] INFO: [ app_begin ] --END-- [ RunTime:0.002233s ] INFO: [ view_parse ] --START-- INFO: [ template_filter ] --START-- INFO: Run Behavior\ContentReplaceBehavior [ RunTime:0.000231s ] INFO: [ template_filter ] --END-- [ RunTime:0.000401s ] NOTIC: [8] Undefined index: user_name C:\phpStudy\PHPTutorial\WWW\myblog\Application\Runtime\Cache\Admin\b595b808c2ebeeeb0478ffc30bb4e87a.php 第 22 行. NOTIC: [8] Undefined index: user_id C:\phpStudy\PHPTutorial\WWW\myblog\Application\Runtime\Cache\Admin\b595b808c2ebeeeb0478ffc30bb4e87a.php 第 23 行. INFO: Run Behavior\ParseTemplateBehavior [ RunTime:0.008914s ] INFO: [ view_parse ] --END-- [ RunTime:0.009071s ] INFO: [ view_filter ] --START-- INFO: Run Behavior\WriteHtmlCacheBehavior [ RunTime:0.000283s ] INFO: [ view_filter ] --END-- [ RunTime:0.000399s ] INFO: [ app_end ] --START-- INFO: Run Behavior\ShowPageTraceBehavior [ RunTime:0.000514s ] INFO: [ app_end ] --END-- [ RunTime:0.000644s ] [ 2019-05-30T11:34:51+08:00 ] 127.0.0.1 /index.php/Admin/Mk/lst.html INFO: [ app_init ] --START-- INFO: Run Behavior\BuildLiteBehavior [ RunTime:0.000029s ] INFO: [ app_init ] --END-- [ RunTime:0.000433s ] INFO: [ app_begin ] --START-- INFO: Run Behavior\ReadHtmlCacheBehavior [ RunTime:0.000432s ] INFO: [ app_begin ] --END-- [ RunTime:0.000582s ] SQL: SHOW COLUMNS FROM `mk` [ RunTime:0.0081s ] SQL: SELECT * FROM `mk` [ RunTime:0.0006s ] INFO: [ view_parse ] --START-- INFO: [ template_filter ] --START-- INFO: Run Behavior\ContentReplaceBehavior [ RunTime:0.000184s ] INFO: [ template_filter ] --END-- [ RunTime:0.000422s ] NOTIC: [8] Undefined index: user_name C:\phpStudy\PHPTutorial\WWW\myblog\Application\Runtime\Cache\Admin\069b081f810e362d5ad3d43ff4984beb.php 第 22 行. NOTIC: [8] Undefined index: user_id C:\phpStudy\PHPTutorial\WWW\myblog\Application\Runtime\Cache\Admin\069b081f810e362d5ad3d43ff4984beb.php 第 23 行. INFO: Run Behavior\ParseTemplateBehavior [ RunTime:0.021966s ] INFO: [ view_parse ] --END-- [ RunTime:0.022181s ] INFO: [ view_filter ] --START-- INFO: Run Behavior\WriteHtmlCacheBehavior [ RunTime:0.000292s ] INFO: [ view_filter ] --END-- [ RunTime:0.000420s ] INFO: [ app_end ] --START-- INFO: Run Behavior\ShowPageTraceBehavior [ RunTime:0.000689s ] INFO: [ app_end ] --END-- [ RunTime:0.000958s ] [ 2019-05-30T11:34:55+08:00 ] 127.0.0.1 /index.php/Admin/Mk/add INFO: [ app_init ] --START-- INFO: Run Behavior\BuildLiteBehavior [ RunTime:0.000028s ] INFO: [ app_init ] --END-- [ RunTime:0.000433s ] INFO: [ app_begin ] --START-- INFO: Run Behavior\ReadHtmlCacheBehavior [ RunTime:0.000993s ] INFO: [ app_begin ] --END-- [ RunTime:0.001287s ] SQL: SHOW COLUMNS FROM `mk` [ RunTime:0.0056s ] INFO: [ view_parse ] --START-- INFO: [ template_filter ] --START-- INFO: Run Behavior\ContentReplaceBehavior [ RunTime:0.000203s ] INFO: [ template_filter ] --END-- [ RunTime:0.000464s ] NOTIC: [8] Undefined index: user_name C:\phpStudy\PHPTutorial\WWW\myblog\Application\Runtime\Cache\Admin\c4c2e0e836d53af13639c6d6e2827276.php 第 23 行. NOTIC: [8] Undefined index: user_id C:\phpStudy\PHPTutorial\WWW\myblog\Application\Runtime\Cache\Admin\c4c2e0e836d53af13639c6d6e2827276.php 第 24 行. INFO: Run Behavior\ParseTemplateBehavior [ RunTime:0.016145s ] INFO: [ view_parse ] --END-- [ RunTime:0.016390s ] INFO: [ view_filter ] --START-- INFO: Run Behavior\WriteHtmlCacheBehavior [ RunTime:0.000565s ] INFO: [ view_filter ] --END-- [ RunTime:0.000789s ] INFO: [ app_end ] --START-- INFO: Run Behavior\ShowPageTraceBehavior [ RunTime:0.000811s ] INFO: [ app_end ] --END-- [ RunTime:0.001036s ] [ 2019-05-30T12:01:21+08:00 ] 127.0.0.1 /index.php/Admin/Mk/lst.html INFO: [ app_init ] --START-- INFO: Run Behavior\BuildLiteBehavior [ RunTime:0.000043s ] INFO: [ app_init ] --END-- [ RunTime:0.000503s ] INFO: [ app_begin ] --START-- INFO: Run Behavior\ReadHtmlCacheBehavior [ RunTime:0.000619s ] INFO: [ app_begin ] --END-- [ RunTime:0.000880s ] SQL: SHOW COLUMNS FROM `mk` [ RunTime:0.0076s ] SQL: SELECT * FROM `mk` [ RunTime:0.0005s ] INFO: [ view_parse ] --START-- INFO: [ template_filter ] --START-- INFO: Run Behavior\ContentReplaceBehavior [ RunTime:0.000107s ] INFO: [ template_filter ] --END-- [ RunTime:0.000247s ] NOTIC: [8] Undefined index: user_name C:\phpStudy\PHPTutorial\WWW\myblog\Application\Runtime\Cache\Admin\069b081f810e362d5ad3d43ff4984beb.php 第 22 行. NOTIC: [8] Undefined index: user_id C:\phpStudy\PHPTutorial\WWW\myblog\Application\Runtime\Cache\Admin\069b081f810e362d5ad3d43ff4984beb.php 第 23 行. INFO: Run Behavior\ParseTemplateBehavior [ RunTime:0.018868s ] INFO: [ view_parse ] --END-- [ RunTime:0.019099s ] INFO: [ view_filter ] --START-- INFO: Run Behavior\WriteHtmlCacheBehavior [ RunTime:0.000467s ] INFO: [ view_filter ] --END-- [ RunTime:0.000676s ] INFO: [ app_end ] --START-- INFO: Run Behavior\ShowPageTraceBehavior [ RunTime:0.001325s ] INFO: [ app_end ] --END-- [ RunTime:0.001506s ] [ 2019-05-30T12:01:24+08:00 ] 127.0.0.1 /index.php/Admin/Mk/edit/id/5 INFO: [ app_init ] --START-- INFO: Run Behavior\BuildLiteBehavior [ RunTime:0.000026s ] INFO: [ app_init ] --END-- [ RunTime:0.000423s ] INFO: [ app_begin ] --START-- INFO: Run Behavior\ReadHtmlCacheBehavior [ RunTime:0.000544s ] INFO: [ app_begin ] --END-- [ RunTime:0.000674s ] SQL: SHOW COLUMNS FROM `mk` [ RunTime:0.0106s ] SQL: SELECT * FROM `mk` LIMIT 1 [ RunTime:0.0008s ] INFO: [ view_parse ] --START-- INFO: [ template_filter ] --START-- INFO: Run Behavior\ContentReplaceBehavior [ RunTime:0.000227s ] INFO: [ template_filter ] --END-- [ RunTime:0.000463s ] NOTIC: [8] Undefined index: user_name C:\phpStudy\PHPTutorial\WWW\myblog\Application\Runtime\Cache\Admin\3cb2abac57c2b4a372dd3f7e222cf820.php 第 23 行. NOTIC: [8] Undefined index: user_id C:\phpStudy\PHPTutorial\WWW\myblog\Application\Runtime\Cache\Admin\3cb2abac57c2b4a372dd3f7e222cf820.php 第 24 行. INFO: Run Behavior\ParseTemplateBehavior [ RunTime:0.026809s ] INFO: [ view_parse ] --END-- [ RunTime:0.027165s ] INFO: [ view_filter ] --START-- INFO: Run Behavior\WriteHtmlCacheBehavior [ RunTime:0.000650s ] INFO: [ view_filter ] --END-- [ RunTime:0.000867s ] INFO: [ app_end ] --START-- INFO: Run Behavior\ShowPageTraceBehavior [ RunTime:0.000914s ] INFO: [ app_end ] --END-- [ RunTime:0.001144s ] [ 2019-05-30T12:02:54+08:00 ] 127.0.0.1 /index.php/Admin/Mk/edit/id/5 INFO: [ app_init ] --START-- INFO: Run Behavior\BuildLiteBehavior [ RunTime:0.000027s ] INFO: [ app_init ] --END-- [ RunTime:0.000400s ] INFO: [ app_begin ] --START-- INFO: Run Behavior\ReadHtmlCacheBehavior [ RunTime:0.000578s ] INFO: [ app_begin ] --END-- [ RunTime:0.000773s ] SQL: SHOW COLUMNS FROM `mk` [ RunTime:0.0080s ] SQL: SELECT * FROM `mk` LIMIT 1 [ RunTime:0.0006s ] INFO: [ view_parse ] --START-- INFO: [ template_filter ] --START-- INFO: Run Behavior\ContentReplaceBehavior [ RunTime:0.000250s ] INFO: [ template_filter ] --END-- [ RunTime:0.000535s ] NOTIC: [8] Undefined index: user_name C:\phpStudy\PHPTutorial\WWW\myblog\Application\Runtime\Cache\Admin\3cb2abac57c2b4a372dd3f7e222cf820.php 第 23 行. NOTIC: [8] Undefined index: user_id C:\phpStudy\PHPTutorial\WWW\myblog\Application\Runtime\Cache\Admin\3cb2abac57c2b4a372dd3f7e222cf820.php 第 24 行. INFO: Run Behavior\ParseTemplateBehavior [ RunTime:0.020256s ] INFO: [ view_parse ] --END-- [ RunTime:0.020714s ] INFO: [ view_filter ] --START-- INFO: Run Behavior\WriteHtmlCacheBehavior [ RunTime:0.000924s ] INFO: [ view_filter ] --END-- [ RunTime:0.001387s ] INFO: [ app_end ] --START-- INFO: Run Behavior\ShowPageTraceBehavior [ RunTime:0.001625s ] INFO: [ app_end ] --END-- [ RunTime:0.002259s ] [ 2019-05-30T12:03:39+08:00 ] 127.0.0.1 /index.php/Admin/Mk/edit/id/5 INFO: [ app_init ] --START-- INFO: Run Behavior\BuildLiteBehavior [ RunTime:0.000036s ] INFO: [ app_init ] --END-- [ RunTime:0.000465s ] INFO: [ app_begin ] --START-- INFO: Run Behavior\ReadHtmlCacheBehavior [ RunTime:0.000538s ] INFO: [ app_begin ] --END-- [ RunTime:0.000682s ] SQL: SHOW COLUMNS FROM `mk` [ RunTime:0.0102s ] SQL: SELECT * FROM `mk` LIMIT 1 [ RunTime:0.0011s ] INFO: [ view_parse ] --START-- INFO: [ template_filter ] --START-- INFO: Run Behavior\ContentReplaceBehavior [ RunTime:0.000271s ] INFO: [ template_filter ] --END-- [ RunTime:0.000582s ] NOTIC: [8] Undefined index: user_name C:\phpStudy\PHPTutorial\WWW\myblog\Application\Runtime\Cache\Admin\3cb2abac57c2b4a372dd3f7e222cf820.php 第 23 行. NOTIC: [8] Undefined index: user_id C:\phpStudy\PHPTutorial\WWW\myblog\Application\Runtime\Cache\Admin\3cb2abac57c2b4a372dd3f7e222cf820.php 第 24 行. INFO: Run Behavior\ParseTemplateBehavior [ RunTime:0.031368s ] INFO: [ view_parse ] --END-- [ RunTime:0.031774s ] INFO: [ view_filter ] --START-- INFO: Run Behavior\WriteHtmlCacheBehavior [ RunTime:0.000843s ] INFO: [ view_filter ] --END-- [ RunTime:0.001111s ] INFO: [ app_end ] --START-- INFO: Run Behavior\ShowPageTraceBehavior [ RunTime:0.001153s ] INFO: [ app_end ] --END-- [ RunTime:0.001439s ] [ 2019-05-30T12:14:25+08:00 ] 127.0.0.1 /index.php/Admin/Mk/edit/id/6 INFO: [ app_init ] --START-- INFO: Run Behavior\BuildLiteBehavior [ RunTime:0.000074s ] INFO: [ app_init ] --END-- [ RunTime:0.001306s ] INFO: [ app_begin ] --START-- INFO: Run Behavior\ReadHtmlCacheBehavior [ RunTime:0.000549s ] INFO: [ app_begin ] --END-- [ RunTime:0.000699s ] SQL: SHOW COLUMNS FROM `mk` [ RunTime:0.0113s ] SQL: SELECT * FROM `mk` LIMIT 1 [ RunTime:0.0008s ] INFO: [ view_parse ] --START-- INFO: [ template_filter ] --START-- INFO: Run Behavior\ContentReplaceBehavior [ RunTime:0.000210s ] INFO: [ template_filter ] --END-- [ RunTime:0.000466s ] NOTIC: [8] Undefined index: user_name C:\phpStudy\PHPTutorial\WWW\myblog\Application\Runtime\Cache\Admin\3cb2abac57c2b4a372dd3f7e222cf820.php 第 23 行. NOTIC: [8] Undefined index: user_id C:\phpStudy\PHPTutorial\WWW\myblog\Application\Runtime\Cache\Admin\3cb2abac57c2b4a372dd3f7e222cf820.php 第 24 行. INFO: Run Behavior\ParseTemplateBehavior [ RunTime:0.029793s ] INFO: [ view_parse ] --END-- [ RunTime:0.030142s ] INFO: [ view_filter ] --START-- INFO: Run Behavior\WriteHtmlCacheBehavior [ RunTime:0.000712s ] INFO: [ view_filter ] --END-- [ RunTime:0.000933s ] INFO: [ app_end ] --START-- INFO: Run Behavior\ShowPageTraceBehavior [ RunTime:0.000925s ] INFO: [ app_end ] --END-- [ RunTime:0.001155s ] [ 2019-05-30T12:14:32+08:00 ] 127.0.0.1 /index.php/Admin/Mk/edit/id/6 INFO: [ app_init ] --START-- INFO: Run Behavior\BuildLiteBehavior [ RunTime:0.000027s ] INFO: [ app_init ] --END-- [ RunTime:0.000434s ] INFO: [ app_begin ] --START-- INFO: Run Behavior\ReadHtmlCacheBehavior [ RunTime:0.000518s ] INFO: [ app_begin ] --END-- [ RunTime:0.000654s ] SQL: SHOW COLUMNS FROM `mk` [ RunTime:0.0120s ] SQL: SELECT * FROM `mk` LIMIT 1 [ RunTime:0.0010s ] INFO: [ view_parse ] --START-- INFO: [ template_filter ] --START-- INFO: Run Behavior\ContentReplaceBehavior [ RunTime:0.000275s ] INFO: [ template_filter ] --END-- [ RunTime:0.000529s ] NOTIC: [8] Undefined index: user_name C:\phpStudy\PHPTutorial\WWW\myblog\Application\Runtime\Cache\Admin\3cb2abac57c2b4a372dd3f7e222cf820.php 第 23 行. NOTIC: [8] Undefined index: user_id C:\phpStudy\PHPTutorial\WWW\myblog\Application\Runtime\Cache\Admin\3cb2abac57c2b4a372dd3f7e222cf820.php 第 24 行. INFO: Run Behavior\ParseTemplateBehavior [ RunTime:0.033626s ] INFO: [ view_parse ] --END-- [ RunTime:0.034105s ] INFO: [ view_filter ] --START-- INFO: Run Behavior\WriteHtmlCacheBehavior [ RunTime:0.001131s ] INFO: [ view_filter ] --END-- [ RunTime:0.001574s ] INFO: [ app_end ] --START-- INFO: Run Behavior\ShowPageTraceBehavior [ RunTime:0.001742s ] INFO: [ app_end ] --END-- [ RunTime:0.002182s ] [ 2019-05-30T12:15:08+08:00 ] 127.0.0.1 /index.php/Admin/Mk/lst.html INFO: [ app_init ] --START-- INFO: Run Behavior\BuildLiteBehavior [ RunTime:0.000026s ] INFO: [ app_init ] --END-- [ RunTime:0.000420s ] INFO: [ app_begin ] --START-- INFO: Run Behavior\ReadHtmlCacheBehavior [ RunTime:0.000834s ] INFO: [ app_begin ] --END-- [ RunTime:0.001461s ] SQL: SHOW COLUMNS FROM `mk` [ RunTime:0.0109s ] SQL: SELECT * FROM `mk` [ RunTime:0.0008s ] INFO: [ view_parse ] --START-- INFO: [ template_filter ] --START-- INFO: Run Behavior\ContentReplaceBehavior [ RunTime:0.000162s ] INFO: [ template_filter ] --END-- [ RunTime:0.000362s ] NOTIC: [8] Undefined index: user_name C:\phpStudy\PHPTutorial\WWW\myblog\Application\Runtime\Cache\Admin\069b081f810e362d5ad3d43ff4984beb.php 第 22 行. NOTIC: [8] Undefined index: user_id C:\phpStudy\PHPTutorial\WWW\myblog\Application\Runtime\Cache\Admin\069b081f810e362d5ad3d43ff4984beb.php 第 23 行. INFO: Run Behavior\ParseTemplateBehavior [ RunTime:0.029854s ] INFO: [ view_parse ] --END-- [ RunTime:0.030194s ] INFO: [ view_filter ] --START-- INFO: Run Behavior\WriteHtmlCacheBehavior [ RunTime:0.000434s ] INFO: [ view_filter ] --END-- [ RunTime:0.000609s ] INFO: [ app_end ] --START-- INFO: Run Behavior\ShowPageTraceBehavior [ RunTime:0.000663s ] INFO: [ app_end ] --END-- [ RunTime:0.000848s ] [ 2019-05-30T12:15:11+08:00 ] 127.0.0.1 /index.php/Admin/Mk/edit/id/6 INFO: [ app_init ] --START-- INFO: Run Behavior\BuildLiteBehavior [ RunTime:0.000026s ] INFO: [ app_init ] --END-- [ RunTime:0.000407s ] INFO: [ app_begin ] --START-- INFO: Run Behavior\ReadHtmlCacheBehavior [ RunTime:0.000458s ] INFO: [ app_begin ] --END-- [ RunTime:0.000585s ] SQL: SHOW COLUMNS FROM `mk` [ RunTime:0.0104s ] SQL: SELECT * FROM `mk` LIMIT 1 [ RunTime:0.0017s ] INFO: [ view_parse ] --START-- INFO: [ template_filter ] --START-- INFO: Run Behavior\ContentReplaceBehavior [ RunTime:0.000316s ] INFO: [ template_filter ] --END-- [ RunTime:0.000682s ] NOTIC: [8] Undefined index: user_name C:\phpStudy\PHPTutorial\WWW\myblog\Application\Runtime\Cache\Admin\3cb2abac57c2b4a372dd3f7e222cf820.php 第 23 行. NOTIC: [8] Undefined index: user_id C:\phpStudy\PHPTutorial\WWW\myblog\Application\Runtime\Cache\Admin\3cb2abac57c2b4a372dd3f7e222cf820.php 第 24 行. INFO: Run Behavior\ParseTemplateBehavior [ RunTime:0.033225s ] INFO: [ view_parse ] --END-- [ RunTime:0.034189s ] INFO: [ view_filter ] --START-- INFO: Run Behavior\WriteHtmlCacheBehavior [ RunTime:0.000902s ] INFO: [ view_filter ] --END-- [ RunTime:0.001450s ] INFO: [ app_end ] --START-- INFO: Run Behavior\ShowPageTraceBehavior [ RunTime:0.001290s ] INFO: [ app_end ] --END-- [ RunTime:0.001775s ] [ 2019-05-30T12:17:28+08:00 ] 127.0.0.1 /index.php/Admin/Mk/lst.html INFO: [ app_init ] --START-- INFO: Run Behavior\BuildLiteBehavior [ RunTime:0.000107s ] INFO: [ app_init ] --END-- [ RunTime:0.001075s ] INFO: [ app_begin ] --START-- INFO: Run Behavior\ReadHtmlCacheBehavior [ RunTime:0.001666s ] INFO: [ app_begin ] --END-- [ RunTime:0.001936s ] SQL: SHOW COLUMNS FROM `mk` [ RunTime:0.0096s ] SQL: SELECT * FROM `mk` [ RunTime:0.0007s ] INFO: [ view_parse ] --START-- INFO: [ template_filter ] --START-- INFO: Run Behavior\ContentReplaceBehavior [ RunTime:0.000327s ] INFO: [ template_filter ] --END-- [ RunTime:0.000740s ] NOTIC: [8] Undefined index: user_name C:\phpStudy\PHPTutorial\WWW\myblog\Application\Runtime\Cache\Admin\069b081f810e362d5ad3d43ff4984beb.php 第 22 行. NOTIC: [8] Undefined index: user_id C:\phpStudy\PHPTutorial\WWW\myblog\Application\Runtime\Cache\Admin\069b081f810e362d5ad3d43ff4984beb.php 第 23 行. INFO: Run Behavior\ParseTemplateBehavior [ RunTime:0.026824s ] INFO: [ view_parse ] --END-- [ RunTime:0.027127s ] INFO: [ view_filter ] --START-- INFO: Run Behavior\WriteHtmlCacheBehavior [ RunTime:0.000674s ] INFO: [ view_filter ] --END-- [ RunTime:0.000899s ] INFO: [ app_end ] --START-- INFO: Run Behavior\ShowPageTraceBehavior [ RunTime:0.001040s ] INFO: [ app_end ] --END-- [ RunTime:0.001265s ] [ 2019-05-30T12:17:29+08:00 ] 127.0.0.1 /index.php/Admin/Mk/lst.html INFO: [ app_init ] --START-- INFO: Run Behavior\BuildLiteBehavior [ RunTime:0.000026s ] INFO: [ app_init ] --END-- [ RunTime:0.000385s ] INFO: [ app_begin ] --START-- INFO: Run Behavior\ReadHtmlCacheBehavior [ RunTime:0.000422s ] INFO: [ app_begin ] --END-- [ RunTime:0.000552s ] SQL: SHOW COLUMNS FROM `mk` [ RunTime:0.0108s ] SQL: SELECT * FROM `mk` [ RunTime:0.0021s ] INFO: [ view_parse ] --START-- INFO: [ template_filter ] --START-- INFO: Run Behavior\ContentReplaceBehavior [ RunTime:0.000518s ] INFO: [ template_filter ] --END-- [ RunTime:0.001206s ] NOTIC: [8] Undefined index: user_name C:\phpStudy\PHPTutorial\WWW\myblog\Application\Runtime\Cache\Admin\069b081f810e362d5ad3d43ff4984beb.php 第 22 行. NOTIC: [8] Undefined index: user_id C:\phpStudy\PHPTutorial\WWW\myblog\Application\Runtime\Cache\Admin\069b081f810e362d5ad3d43ff4984beb.php 第 23 行. INFO: Run Behavior\ParseTemplateBehavior [ RunTime:0.047738s ] INFO: [ view_parse ] --END-- [ RunTime:0.048481s ] INFO: [ view_filter ] --START-- INFO: Run Behavior\WriteHtmlCacheBehavior [ RunTime:0.000648s ] INFO: [ view_filter ] --END-- [ RunTime:0.000979s ] INFO: [ app_end ] --START-- INFO: Run Behavior\ShowPageTraceBehavior [ RunTime:0.001288s ] INFO: [ app_end ] --END-- [ RunTime:0.001673s ] [ 2019-05-30T12:18:52+08:00 ] 127.0.0.1 /index.php/Admin/Mk/edit/id/6 INFO: [ app_init ] --START-- INFO: Run Behavior\BuildLiteBehavior [ RunTime:0.000026s ] INFO: [ app_init ] --END-- [ RunTime:0.000434s ] INFO: [ app_begin ] --START-- INFO: Run Behavior\ReadHtmlCacheBehavior [ RunTime:0.000513s ] INFO: [ app_begin ] --END-- [ RunTime:0.000642s ] SQL: SHOW COLUMNS FROM `mk` [ RunTime:0.0122s ] SQL: SELECT * FROM `mk` WHERE `id` = 6 LIMIT 1 [ RunTime:0.0012s ] INFO: [ view_parse ] --START-- INFO: [ template_filter ] --START-- INFO: Run Behavior\ContentReplaceBehavior [ RunTime:0.000806s ] INFO: [ template_filter ] --END-- [ RunTime:0.001419s ] NOTIC: [8] Undefined index: user_name C:\phpStudy\PHPTutorial\WWW\myblog\Application\Runtime\Cache\Admin\3cb2abac57c2b4a372dd3f7e222cf820.php 第 23 行. NOTIC: [8] Undefined index: user_id C:\phpStudy\PHPTutorial\WWW\myblog\Application\Runtime\Cache\Admin\3cb2abac57c2b4a372dd3f7e222cf820.php 第 24 行. INFO: Run Behavior\ParseTemplateBehavior [ RunTime:0.035209s ] INFO: [ view_parse ] --END-- [ RunTime:0.035691s ] INFO: [ view_filter ] --START-- INFO: Run Behavior\WriteHtmlCacheBehavior [ RunTime:0.001422s ] INFO: [ view_filter ] --END-- [ RunTime:0.001869s ] INFO: [ app_end ] --START-- INFO: Run Behavior\ShowPageTraceBehavior [ RunTime:0.002356s ] INFO: [ app_end ] --END-- [ RunTime:0.003033s ] [ 2019-05-30T12:21:03+08:00 ] 127.0.0.1 /index.php/Admin/Mk/edit/id/6 INFO: [ app_init ] --START-- INFO: Run Behavior\BuildLiteBehavior [ RunTime:0.000026s ] INFO: [ app_init ] --END-- [ RunTime:0.000446s ] INFO: [ app_begin ] --START-- INFO: Run Behavior\ReadHtmlCacheBehavior [ RunTime:0.000502s ] INFO: [ app_begin ] --END-- [ RunTime:0.000647s ] SQL: SHOW COLUMNS FROM `mk` [ RunTime:0.0125s ] SQL: UPDATE `mk` SET `title`='PHP框架相关',`auth`='YUDANDAN',`category`='technology',`summary`='关于自己学习PHP时,从中摘抄的重点。',`content`='- 闭包 - 命名空间--- #### 路由解析 > 通过url地址get参数找到指定的控制器,并进行对应方法调用请求 > 1. http://网址/index.php?m=XX&c=XX&a=XX 基本get > 2. http://网址/index.php/模块/控制器/操作方法 路径模式pathinfo > 3. http://网址/模块/控制器/操作方法 rewrite重写模式 > 4. http://index.php?s=/模块/控制器/方法 兼容模式 > > 具体url地址模式设置(配置文件ThinkPHP/Conf/convention.php--\'URL_MODEL\'=>0,1,2,3)可修改自己项目的配置文件,项目/Common/Conf/下进行修改 ###### 多级控制器 ``` <?php namespace Home\\Controller\\Admin; use Think\\Controller; class IndexController extends Controller { public function hello(){ echo \'hello\'; } public function test(){ echo \'test\'; } } ``` > 可以通过url访问 http://serverName/Home/Admin/Usesr 跨控制器调用,可以单独实例化控制器,也可以用快捷调用方法A ``` // 实例化Home模块的User控制器 $User = new \\Home\\Controller\\UserController(); $User=A(\'User\'); ``` 在程序设计中,不能相信用户的任何输入; ###### 模型的实例化 > D方法实例化模型类的时候通常是实例化某个具体的模型类,如果你仅仅是对数据表进行基本的CURD操作的话,使用M方法实例化的话,由于不需要加载具体的模型类,所以性能会更高 ###### 请求 > get:传送的参数是有长度限制,只接受ASCII字符,通过URL传递,请求一次 > > post:放在Request body中,请求两次。 ###### PHP会话管理 > Cookie 数据存储浏览器端;方便与J互数据,方便获取用户信息; > > Session:数据存储在服务器上;高效,安全,不依赖浏览器端环境,服务器端会为每一个用户一个ID ###### M方法和D方法 > M方法就是一个原生态的new Model() > > D方法可以调用验证机制,会查询到同名Model类,自动验证,自动填充,关联查询。',`time`='1559190063' WHERE `id` = 6 [ RunTime:0.0049s ] INFO: [ view_parse ] --START-- INFO: [ template_filter ] --START-- INFO: Run Behavior\ContentReplaceBehavior [ RunTime:0.000323s ] INFO: [ template_filter ] --END-- [ RunTime:0.000792s ] INFO: Run Behavior\ParseTemplateBehavior [ RunTime:0.026255s ] INFO: [ view_parse ] --END-- [ RunTime:0.026649s ] INFO: [ view_filter ] --START-- INFO: Run Behavior\WriteHtmlCacheBehavior [ RunTime:0.000720s ] INFO: [ view_filter ] --END-- [ RunTime:0.000980s ] INFO: [ app_end ] --START-- INFO: Run Behavior\ShowPageTraceBehavior [ RunTime:0.001053s ] INFO: [ app_end ] --END-- [ RunTime:0.001312s ] [ 2019-05-30T12:21:05+08:00 ] 127.0.0.1 /index.php/Admin/Mk/lst.html INFO: [ app_init ] --START-- INFO: Run Behavior\BuildLiteBehavior [ RunTime:0.000042s ] INFO: [ app_init ] --END-- [ RunTime:0.000601s ] INFO: [ app_begin ] --START-- INFO: Run Behavior\ReadHtmlCacheBehavior [ RunTime:0.001583s ] INFO: [ app_begin ] --END-- [ RunTime:0.001875s ] SQL: SHOW COLUMNS FROM `mk` [ RunTime:0.0110s ] SQL: SELECT * FROM `mk` [ RunTime:0.0008s ] INFO: [ view_parse ] --START-- INFO: [ template_filter ] --START-- INFO: Run Behavior\ContentReplaceBehavior [ RunTime:0.000163s ] INFO: [ template_filter ] --END-- [ RunTime:0.000384s ] NOTIC: [8] Undefined index: user_name C:\phpStudy\PHPTutorial\WWW\myblog\Application\Runtime\Cache\Admin\069b081f810e362d5ad3d43ff4984beb.php 第 22 行. NOTIC: [8] Undefined index: user_id C:\phpStudy\PHPTutorial\WWW\myblog\Application\Runtime\Cache\Admin\069b081f810e362d5ad3d43ff4984beb.php 第 23 行. INFO: Run Behavior\ParseTemplateBehavior [ RunTime:0.030195s ] INFO: [ view_parse ] --END-- [ RunTime:0.030532s ] INFO: [ view_filter ] --START-- INFO: Run Behavior\WriteHtmlCacheBehavior [ RunTime:0.000420s ] INFO: [ view_filter ] --END-- [ RunTime:0.000681s ] INFO: [ app_end ] --START-- INFO: Run Behavior\ShowPageTraceBehavior [ RunTime:0.000698s ] INFO: [ app_end ] --END-- [ RunTime:0.000895s ] [ 2019-05-30T12:23:50+08:00 ] 127.0.0.1 /index.php/Admin/Mk/edit/id/6 INFO: [ app_init ] --START-- INFO: Run Behavior\BuildLiteBehavior [ RunTime:0.000028s ] INFO: [ app_init ] --END-- [ RunTime:0.000432s ] INFO: [ app_begin ] --START-- INFO: Run Behavior\ReadHtmlCacheBehavior [ RunTime:0.000560s ] INFO: [ app_begin ] --END-- [ RunTime:0.000697s ] SQL: SHOW COLUMNS FROM `mk` [ RunTime:0.0114s ] SQL: SELECT * FROM `mk` WHERE `id` = 6 LIMIT 1 [ RunTime:0.0012s ] INFO: [ view_parse ] --START-- INFO: [ template_filter ] --START-- INFO: Run Behavior\ContentReplaceBehavior [ RunTime:0.000405s ] INFO: [ template_filter ] --END-- [ RunTime:0.000871s ] NOTIC: [8] Undefined index: user_name C:\phpStudy\PHPTutorial\WWW\myblog\Application\Runtime\Cache\Admin\3cb2abac57c2b4a372dd3f7e222cf820.php 第 23 行. NOTIC: [8] Undefined index: user_id C:\phpStudy\PHPTutorial\WWW\myblog\Application\Runtime\Cache\Admin\3cb2abac57c2b4a372dd3f7e222cf820.php 第 24 行. INFO: Run Behavior\ParseTemplateBehavior [ RunTime:0.035491s ] INFO: [ view_parse ] --END-- [ RunTime:0.035867s ] INFO: [ view_filter ] --START-- INFO: Run Behavior\WriteHtmlCacheBehavior [ RunTime:0.000637s ] INFO: [ view_filter ] --END-- [ RunTime:0.000856s ] INFO: [ app_end ] --START-- INFO: Run Behavior\ShowPageTraceBehavior [ RunTime:0.001235s ] INFO: [ app_end ] --END-- [ RunTime:0.001611s ] [ 2019-05-30T12:24:48+08:00 ] 127.0.0.1 /index.php/Admin/Mk/edit/id/6 INFO: [ app_init ] --START-- INFO: Run Behavior\BuildLiteBehavior [ RunTime:0.000044s ] INFO: [ app_init ] --END-- [ RunTime:0.000454s ] INFO: [ app_begin ] --START-- INFO: Run Behavior\ReadHtmlCacheBehavior [ RunTime:0.000571s ] INFO: [ app_begin ] --END-- [ RunTime:0.000728s ] SQL: SHOW COLUMNS FROM `mk` [ RunTime:0.0104s ] SQL: UPDATE `mk` SET `title`='PHP框架相关',`auth`='YUDANDAN',`summary`='关于自己学习PHP时,从中摘抄的重点。',`content`='- 闭包 - 命名空间--- #### 路由解析 通过url地址get参数找到指定的控制器,并进行对应方法调用请求 1. http://网址/index.php?m=XX&c=XX&a=XX 基本get 2. http://网址/index.php/模块/控制器/操作方法 路径模式pathinfo 3. http://网址/模块/控制器/操作方法 rewrite重写模式 4. http://index.php?s=/模块/控制器/方法 兼容模式 具体url地址模式设置(配置文件ThinkPHP/Conf/convention.php--\'URL_MODEL\'=>0,1,2,3)可修改自己项目的配置文件,项目/Common/Conf/下进行修改 ###### 多级控制器 ``` <?php namespace Home\\Controller\\Admin; use Think\\Controller; class IndexController extends Controller { public function hello(){ echo \'hello\'; } public function test(){ echo \'test\'; } } ``` 可以通过url访问 http://serverName/Home/Admin/Usesr 跨控制器调用,可以单独实例化控制器,也可以用快捷调用方法A ``` // 实例化Home模块的User控制器 $User = new \\Home\\Controller\\UserController(); $User=A(\'User\'); ``` 在程序设计中,不能相信用户的任何输入; ###### 模型的实例化 D方法实例化模型类的时候通常是实例化某个具体的模型类,如果你仅仅是对数据表进行基本的CURD操作的话,使用M方法实例化的话,由于不需要加载具体的模型类,所以性能会更高 ###### 请求 get:传送的参数是有长度限制,只接受ASCII字符,通过URL传递,请求一次 post:放在Request body中,请求两次。 ###### PHP会话管理 Cookie 数据存储浏览器端;方便与J互数据,方便获取用户信息; Session:数据存储在服务器上;高效,安全,不依赖浏览器端环境,服务器端会为每一个用户一个ID ###### M方法和D方法 M方法就是一个原生态的new Model() D方法可以调用验证机制,会查询到同名Model类,自动验证,自动填充,关联查询。',`time`='1559190288' WHERE `id` = 6 [ RunTime:0.0010s ] INFO: [ view_parse ] --START-- INFO: [ template_filter ] --START-- INFO: Run Behavior\ContentReplaceBehavior [ RunTime:0.000275s ] INFO: [ template_filter ] --END-- [ RunTime:0.000814s ] INFO: Run Behavior\ParseTemplateBehavior [ RunTime:0.023479s ] INFO: [ view_parse ] --END-- [ RunTime:0.023965s ] INFO: [ view_filter ] --START-- INFO: Run Behavior\WriteHtmlCacheBehavior [ RunTime:0.001109s ] INFO: [ view_filter ] --END-- [ RunTime:0.001518s ] INFO: [ app_end ] --START-- INFO: Run Behavior\ShowPageTraceBehavior [ RunTime:0.001186s ] INFO: [ app_end ] --END-- [ RunTime:0.001539s ] [ 2019-05-30T12:24:50+08:00 ] 127.0.0.1 /index.php/Admin/Mk/lst.html INFO: [ app_init ] --START-- INFO: Run Behavior\BuildLiteBehavior [ RunTime:0.000027s ] INFO: [ app_init ] --END-- [ RunTime:0.000408s ] INFO: [ app_begin ] --START-- INFO: Run Behavior\ReadHtmlCacheBehavior [ RunTime:0.000435s ] INFO: [ app_begin ] --END-- [ RunTime:0.000577s ] SQL: SHOW COLUMNS FROM `mk` [ RunTime:0.0128s ] SQL: SELECT * FROM `mk` [ RunTime:0.0008s ] INFO: [ view_parse ] --START-- INFO: [ template_filter ] --START-- INFO: Run Behavior\ContentReplaceBehavior [ RunTime:0.000160s ] INFO: [ template_filter ] --END-- [ RunTime:0.000373s ] NOTIC: [8] Undefined index: user_name C:\phpStudy\PHPTutorial\WWW\myblog\Application\Runtime\Cache\Admin\069b081f810e362d5ad3d43ff4984beb.php 第 22 行. NOTIC: [8] Undefined index: user_id C:\phpStudy\PHPTutorial\WWW\myblog\Application\Runtime\Cache\Admin\069b081f810e362d5ad3d43ff4984beb.php 第 23 行. INFO: Run Behavior\ParseTemplateBehavior [ RunTime:0.035223s ] INFO: [ view_parse ] --END-- [ RunTime:0.035597s ] INFO: [ view_filter ] --START-- INFO: Run Behavior\WriteHtmlCacheBehavior [ RunTime:0.000425s ] INFO: [ view_filter ] --END-- [ RunTime:0.000616s ] INFO: [ app_end ] --START-- INFO: Run Behavior\ShowPageTraceBehavior [ RunTime:0.000659s ] INFO: [ app_end ] --END-- [ RunTime:0.000850s ]