Php Zend Framework使用post http方法转发请求
使用Zend Framework 1.7。是否可以使用Php Zend Framework使用post http方法转发请求,php,http,zend-framework,post,Php,Http,Zend Framework,Post,使用Zend Framework 1.7。是否可以使用POST方法转发请求? 大概是这样的: $this->_forward('action','controller','module',array('method'=>'POST')); 是,这是可能的,请尝试使用以下方法: $this->_request->setPost(array('param_name' => $paramValue)); $this->_forward('actionName',
POST
方法转发请求?
大概是这样的:
$this->_forward('action','controller','module',array('method'=>'POST'));
是,这是可能的,请尝试使用以下方法:
$this->_request->setPost(array('param_name' => $paramValue));
$this->_forward('actionName', 'controller', 'module');
转发不
将浏览器重定向到新位置并丢失所有post
数据,在zend中使用转发
,将当前请求指向新操作