0
我想创建一个codigniter项目中的URL结构会像https://localhost/project_name/abcde/mycontroller/myfunction笨动态基本URL
哪里BASE_URL是https://localhost/project_name/abcde/
而且abcde
将来自数据库。
手段,我想
$this->uri->segment(1); //abcde(Comes from database)
$this->uri->segment(2); //controller
$this->uri->segment(3); //function