How can I stop users entering <?php ?>
into my forms.
I am using urlencode() and then using urldecode() when echoing data onto my page what is the best thing to do??
UPDATE:
I am writing to the database with the text urlencoded:
htmlentities (urlencode($_POST['postmessage']));
I am using:
<?php echo htmlentities (urldecode($row['content'])) ?>
to echo the saved data. Is that enough??