<form action="test.php" method="post">
<p>Ваш Текст: <input type="text" name="text" /></p>
<p><input type="submit" /></p>
</form>
<?php
$text2 = $_GET['text'];
echo '<br>';
$link = array( 'text' => $text); ?>
</br>
ICAgPGZvcm0gYWN0aW9uPSJ0ZXN0LnBocCIgbWV0aG9kPSJwb3N0Ij4KICAgICAgICA8cD7QktCw0Ygg0KLQtdC60YHRgjogPGlucHV0IHR5cGU9InRleHQiIG5hbWU9InRleHQiIC8+PC9wPgogICAgICAgIDxwPjxpbnB1dCB0eXBlPSJzdWJtaXQiIC8+PC9wPgogICAgPC9mb3JtPgo8P3BocAokdGV4dDIgPSAkX0dFVFsndGV4dCddOwokdGV4dCA9IHVybGVuY29kZSgkX1BPU1RbJ3RleHQnXSk7CmVjaG8gItCS0LDRiCDRgtC10LrRgdGCINC40Lcg0YTQvtGA0LzRizoiLmh0bWxzcGVjaWFsY2hhcnModXJsZGVjb2RlKCR0ZXh0KSk7CmVjaG8gJzxicj4nOwplY2hvICLQktCw0Ygg0KLQtdC60YHRgiDQuNC3INGB0YHRi9C70LrQuDogIi5odG1sc3BlY2lhbGNoYXJzKHVybGRlY29kZSgkdGV4dDIpKTsKJGxpbmsgPSBhcnJheSggJ3RleHQnID0+ICR0ZXh0KTsKJG5ld0xpbmsgPSBodHRwX2J1aWxkX3F1ZXJ5KCRsaW5rKTsKPz4KPC9icj4KPGEgaHJlZj0ndGVzdC5waHA/PD89JG5ld0xpbms/Pic+UHVzaCBoZXJlOiA8Pz1odG1sc3BlY2lhbGNoYXJzKHVybGRlY29kZSgkdGV4dCkpPz48L2E+