This simple one liner will read in all of the variables sent via POST and GET and turn them into relevant variables within this new page, so $_GET[variable] becomes $variable automatically.
@extract($_POST);
@extract($_GET);
If this doesnt work, and some server setups stop your from doing the above, then you can use a variable variable (yes thats right, you did read it correctly) with the following code
<?php
foreach ($_POST as $key => $value)
$$key = $value;