The only think to watch out for is output. You cannot send anything out, before issuing the redirect, that icnludes html, echo statements, doctype info etc.
As long as your PHP code is the first thing on the page that will redirect, and as long as it does not output anything. The redirect shoud work fine.
If you want to modify the POST data do all the changes and the construct your URL for the redirect something like:
Code:
$somevariable=$_POST['mypostvar'];
$mylocation="someotherpage.php?value1=". $somevariable . "&value2=" . $someotherVariable;
and then just issue the header location command.
The values will now be available in the $_GET superglobal.
from the new location.
Or you can alternatively put the new values into session variables, whcih can then be accessed in the new location.
----------------------------------
Ignorance is not necessarily Bliss, case in point:
Unknown has caused an Unknown Error on Unknown and must be shutdown to prevent damage to Unknown.