0
比方說,我有一個網址:www.example.com/setting/?title=1&test=2
無法訪問GET數據
然後,我有一個類Some_Controller
擴展Zend_Controller_Action
:
class Test_Controller_Action extends Zend_Controller_Action {
非常奇怪的是,當我嘗試獲取GET
表單數據,Zend的請求表示根本沒有GET
數據,但如果我嘗試提交POST
數據,則一切看起來都很正常。
print_r($this->_request->getParams());
或
print_r($this->_request);
什麼可能是我不能夠GET
數據在所有的原因是什麼?