yo tambien lo hago asi, y si tienes un query string tambien lo puedes guardar asi:
Código PHP:
<?php
if(isset($_POST[name])) {
$name=$_POST[name];
if($name=="") {
echo "You didn't write your name in here<BR><BR>";
}
else {
echo "Your name's $name<BR><BR>";
}
}
?>
<form action="<?php echo $_SERVER[PHP_SELF].$_SERVER['QUERY_STRING']; ?>" method="POST">
What's your name?<br>
<input type="text" name="name"> clica [Enter]
</form>