<form action='apsaugota.php' method='post'><input type='text' name='kodas'>
<?php if($_GET['kodas'] == "kodastavo") { echo "ypatinga naujiena tavo"; } else { echo "blogas kodas"; } ?>