PHP Redirection with Post Parameters
You CAN header redirect a POST request, and include the POST information. However, you need to explicitly return HTTP status code 307. Browsers treat 302 as a redirect with for GET, ignoring the original method. This is noted explicitly in the HTTP documentation: https://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.3.8 Practically, this means in PHP you need to set the status … Read more