【发布时间】:2012-04-23 05:47:19
【问题描述】:
我使用查询字符串做了前端控制器。
例如:
但我需要在不使用查询字符串的情况下这样做。
【问题讨论】:
-
那么,你到底想要什么?
-
@Chasing Death:在我提到的示例中,我从 quary 字符串中捕获 main 并包含 main.php。现在我需要在不从 quary 字符串中获取“main”的情况下包括 main.php。我在本教程中尝试了这个。 onlamp.com/pub/a/php/2004/07/08/front_controller.html?page=1
-
其实我需要间接调用控制器。
标签: php .htaccess front-controller