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