2013-10-02 92 views
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數據在所有的原因是什麼?

回答

0

原來麻煩是用nginx配置....所以zend與它無關,或者部分沒有任何東西....