<html>
<head>
</head>
<body>
<form action="<?=htmlentities($_SERVER['PHP_SELF'])?>">
<input type="text" name="inpt" /><input type="submit" name="submit" value="Send" />
</form>
<?php
	if(isset($_REQUEST['inpt'])) echo htmlentities($_REQUEST['inpt'], ENT_QUOTES, 'UTF-8');
?>
</body>
</html>