<form action="ikinci.php" method="post">
<input type="text" name="yazi">
<input type="submit" value="gönder">
</form>

ikinci.php;

<?
$gelenyazi = $_POST['yazi'];

echo $gelenyazi;

?>