Anonymous
public text v1 · immutable<?php
if ($_POST['inform'] == "true")
{
$text = htmlentities($_POST['mytext']);
echo $text;
}
?>
<form method="POST">
<input type="text" name="mytext" />
<input type="submit" value="Hit me" />
<input type="hidden" name="inform" value="true" />
</form>
Simple test..
Entering: tést outputs: tést
Any thoughts?