pman, I don't mean to sound like a poop, but when you have such a problem, you should state what your restrictions are. It's frustrating to give you viable solutions only to have you come back with "I can't do it that way."
That said... WHY do you have such restrictions? You are designing the PHP page, so why can't you simply post to B.PHP?
If you are stuck with these silly restrictions (hmm... this isn't a school assignment, is it?), then perhaps you should use sessions:
Page A.php:
if (isset($_POST['test_some_variable'])) {
session_start();
foreach ($_POST as $k => $v) {
$_SESSION[$k] = $v;
}
header("Location: B.php");
}
Page B.php:
session_start();
foreach ($_SESSION as $k => $v) {
$$k = $v;
}
Haven't tested this... but it should work. Give it a try. Make sure each one is at the top of your page.