问题
Using Zend Framework 1.7. Is possible to forward a request with POST method?
Something like this:
$this->_forward('action','controller','module',array('method'=>'POST'));
回答1:
Yes this is possible, Try using following:
$this->_request->setPost(array('param_name' => $paramValue));
$this->_forward('actionName', 'controller', 'module');
来源:https://stackoverflow.com/questions/24954155/zend-framework-forward-request-with-post-http-method