【发布时间】:2015-04-22 13:22:35
【问题描述】:
.htaccess
重写引擎开启 RewriteRule 注册 index.php?mode=register RewriteRule 登录 index.php?mode=loginindex.php
这是我目前的方法(感谢@TROODON)。
有没有更简单的方法,也许使用键值数组来存储 index.php 将调用的各个页面的所有可能性?
谢谢
【问题讨论】:
标签: php .htaccess mod-rewrite get