<?php require_once "maincore.php"; if($_POST['nx']) redirect("http://google.lt/".$_POST['lol'].""); echo "<form action='' method='post'> <input type='text' name='lol'/> <input name='nx' type='submit' /> </form>"; ?>