ThinkPHP[URL模式介绍]

0.基本GET模式
            index.php?m=模块&c=控制器&a=方法
1.    路径模式
            index.php/模块/控制器/方法 
2.rewrite重写模式
            /模块/控制器/方法
3.兼容模式
            ?s=/模块/控制/方法
url模式设置(配置文件config/config.php)
URL_MODEL => [模式编号]

6 thoughts on “ThinkPHP[URL模式介绍]”

Leave a Reply to 贺岁档电影 Cancel reply

Your email address will not be published. Required fields are marked *