学习ThinkPHP3.2.2:video7中url模式配置
来源:互联网 发布:mac版chrome没有flash 编辑:程序博客网 时间:2024/06/15 12:10
控制器 IndexController.class.php:
public function index(){
echo U('Index/index', array('uid' => 1), '', true);
die;
}
1、配置 D:\wamp\www\wish\Index\Common\Conf\config.php
'URL_MODEL' => 0
浏览 http://localhost/wish/index.php/Home/Index/index/uid/2
显示:http://localhost/wish/index.php?m=Home&c=Index&a=index&uid=1
2、配置 D:\wamp\www\wish\Index\Common\Conf\config.php
'URL_MODEL' => 1
浏览 http://localhost/wish/index.php/Home/Index/index/uid/2
显示:http://localhost/wish/index.php/Home/Index/index/uid/1
3、配置 D:\wamp\www\wish\Index\Common\Conf\config.php
'URL_MODEL' => 2
浏览 http://localhost/wish/index.php/Home/Index/index/uid/2
显示:http://localhost/wish/Home/Index/index/uid/1
0 0
- 学习ThinkPHP3.2.2:video7中url模式配置
- 学习ThinkPHP3.2.2:video7,I函数的漏洞已经修改
- 学习ThinkPHP3.2.2:video10,设置模板读取控制器中某个操作的url
- 学习ThinkPHP3.2.2:几种URL访问方式
- 【thinkPHP3.1.2】URL四种模式设置
- thinkphp3.2 URL模式 用于自学
- 【thinkphp3.x】thinkphp3.x中U方法生成url地址
- 【thinkphp3.x】thinkphp3.x中U方法生成url地址
- thinkphp3.2.3中设置路由,优化url
- ThinkPHP3.2.2学习记录
- thinkphp3.2.2学习笔记
- thinkphp3.2.2下对url的操作
- 学习ThinkPHP3.2.2:video15,后台在table中显示许愿
- ThinkPHP3.0开发指南-控制器之URL模式
- 学习ThinkPHP3.2.2:video15,分页
- thinkphp3.2,URL重写
- ThinkPHP3.2 URL随记
- thinkphp3.1.2 URL
- 03crawler02 爬取贴吧排名, 制作图片集
- 【Web安全与防御】简析Sql注入与防御措施
- 剑指offer - 二叉搜索树转双向链表
- C语言的动态数组函数的sizeof、malloc和free
- 软工视频(四)——软件设计
- 学习ThinkPHP3.2.2:video7中url模式配置
- HTML学习记录<四> :创建图像映射
- 关于数组的个人理解
- String,StringBuffer与StringBuilder的区别
- KNN分类
- LeetCode题解:Path Sum II
- hdu 1009 FatMouse' Trade
- 学习ThinkPHP3.2.2:许愿墙模板文件位置
- Swift学习(一)