View Full Version : validating textarea
10-27-2006, 08:11 AM
10-27-2006, 02:51 PM
i supose one way is to change all "<" to "%3C" which is the html entitie for it, this will stop it doing anything harmfull and will just display as a < in the browser view (in the source code it will be %3C)
php has a function to change all html chars to their entities.
<form method="post" action="go.php">
<input type="submit" value="go!!">
Powered by vBulletin® Version 4.2.2 Copyright © 2017 vBulletin Solutions, Inc. All rights reserved.