or try something that might even work 🙂
<html>
<body>
<form action="test.php" method='post'>
<input type=text name="username"><br>
<input type=submit value="show">
</form>
</body>
</html>
test.php
<?php
echo $HTTP_POST_VARS['username'];
?>
form method defaults to post i think, but specify it anyway