第七色在线视频,2021少妇久久久久久久久久,亚洲欧洲精品成人久久av18,亚洲国产精品特色大片观看完整版,孙宇晨将参加特朗普的晚宴

為了賬號(hào)安全,請(qǐng)及時(shí)綁定郵箱和手機(jī)立即綁定

Warning: require_once(/libs/Controller/indexController.class.php): failed to open stream: No such file or directory in D:\AppServ\www\mvc\function.php on line 3 Fatal error: require_once(): Failed opening required '/libs/Controller/indexController.class.p

?function C($name, $method){
??require_once('/libs/controller/'.$name.'Controller.class.php');
??eval('$obj = new '.$name.'Controller();$obj->'.$method.'();');
?}

正在回答

5 回答

老師在后面是加了這個(gè)的?controller=test&method=show,也就是完整的網(wǎng)址是http://localhost:8080/mvc/admin.php?controller=admin&method=test,傳了一個(gè)控制器名admin和test方法的

0 回復(fù) 有任何疑惑可以回復(fù)我~

require_once('./libs/Model/'.$name.'Model.class.php');

視頻里的php版本可能比較老,我用php7.0的版本路徑要加點(diǎn)

0 回復(fù) 有任何疑惑可以回復(fù)我~

咱倆的問題一模一樣,你的問題解決了嗎?能否指點(diǎn)一下

0 回復(fù) 有任何疑惑可以回復(fù)我~

輸入網(wǎng)址為http://localhost/MVC/index.php?controller=test&method=show;而你輸?shù)氖莌ttp://localhost/MVC/index.php?!你忘記傳參了,這個(gè)問題困擾了我一天

0 回復(fù) 有任何疑惑可以回復(fù)我~

找不到這個(gè)文件/libs/Controller/indexController.class.php,看路徑是否正確


0 回復(fù) 有任何疑惑可以回復(fù)我~

舉報(bào)

0/150
提交
取消

Warning: require_once(/libs/Controller/indexController.class.php): failed to open stream: No such file or directory in D:\AppServ\www\mvc\function.php on line 3 Fatal error: require_once(): Failed opening required '/libs/Controller/indexController.class.p

我要回答 關(guān)注問題
微信客服

購課補(bǔ)貼
聯(lián)系客服咨詢優(yōu)惠詳情

幫助反饋 APP下載

慕課網(wǎng)APP
您的移動(dòng)學(xué)習(xí)伙伴

公眾號(hào)

掃描二維碼
關(guān)注慕課網(wǎng)微信公眾號(hào)