Possible Duplicate:
How to prevent XSS with HTML/PHP?
I know that in a lot of website, if you enter :
<script>alert("xss");</script>
The website will display an error.
Exemple : http://www.igossips.com
Enter the preceding code in the search box.
The website displays a lot of the code.
How can I prevent this to happen on my own website ??