Use sessions.
first put this as the FIRST LINE OF CODE on the top of EACH PAGE.
session_start();
on your post_b.php or whatever first load up some session variables
@session_register('variable_name'); // creates the variable
$_SESSION['variable_name'] = $_POST['variable_name']; // copies the data over
// ...
// do this for all the other variables in $_POST that you want
then on your post_a.php do a check to see whether or not the person has been do post_b.php before. If they have, then the session variables WILL exist!
if(session_is_registered('variable_name') && isset($_SESSION['variable_name']))
{
// if this is true then process code with the data in the $_SESSION array
}
else
{
// go about your normal business with the form
echo "<form method='POST' action='post_b.php'>"; // etc etc
}