Hello,

How can one redirect in PHP via the Post method rather than method GET?

That is I know of this redirect and use it often:

Code PHP:
header('Location: [url]https://www.xyz.com/page1.php?check=10);[/url]

but this results in page1.php displaying the variable value pairs exposed to the public.

How can one do a redirect in php with method POST so that the variable and
value are not publicly exposed.

Regards,