you can pass it through a form
in testone.php:
<form method="post" action="testtwo.php">
<input type="text" name="firstname" value="">
<input type="submit" value="ok">
</form>
in testtwo.php:
print ' Your name is: '.$firstname;
- or ----------------------------------------
testone.php:
<a href="test2.php?action=showform">
testtwo.php:
if ($action=='showform') {
// show the form
}