Why do it that way? If your using a form and a submit button, why not just post the form to the same page, then use your variables from $_POST[]
For instance:
// TestPage.php
<html>
<head>
<title>Untitled</title>
</head>
<body>
<?
if ($POST[Name])
{
echo ("Hello ".$POST[Name]);
}
?>
<form action="TestPage.php" method="post">
Name:
<input type="text" name="Name">
<br>
<input type="submit" name="Submit" value="Continue">
</form>
</body>
</html>