Hi all,
I would like to send a user who lands on page.php to page2.php with some hidden variables (similar to post method).
I assume the header redirect will only pass visible variables (similar to get method).
e.g.
header("location: http://url.com/page2.php?var1&var2");
Is there a way to automate the redirect and pass along variables picked up from page.php to page2.php that are not visible in the redirected url?
is there a different method or PHP function that can accomplish this? Maybe i can create a form wiht post method and have it submit automatically on the server side?
For various reasons, I can't do this on apache, i need to do this in the PHP code.
thanks in advance,
teren