Possible Duplicate:
How do you POST to a page using the PHP header() function?
For example, I need to redirect a user to a different page upon error, but I also want to POST a value to that page as well.
Possible Duplicate:
How do you POST to a page using the PHP header() function?
For example, I need to redirect a user to a different page upon error, but I also want to POST a value to that page as well.
Could you use $_SESSION instead?
$_SESSION['var'] = 'foo';
//redirect