<?php$foo = filter_input(INPUT_POST, 'foo', FILTER_UNSAFE_RAW);?><form action="/foo.html" method="POST"><input type="text" name="foo" value="<?php echo $foo?>" /></form>