和header("Location http://url.to/");
一样,我想使用POST方法进行重定向。我知道cURL
可以通过POST/GET方法处理发送数据,但我不确定重定向。
感谢您的帮助。
header("HTTP/1.1 307 Temporary Redirect");
header("Location: http://www.***.co.uk/site/index.php");
这将重定向POST数据,请参阅我之前的回答:https://security.stackexchange.com/questions/39564/how-do-i-capture-post-data-then-forward-user-to-another-page/39568#39568