Original Link: http://blog.astrumfutura.com/2012/06/automatic-output-escaping-in-php-and-the-real-future-of-preventing-cross-site-scripting-xss/

Automatic output escaping is an important lesson to remember to help prevent XSS attacks, and this article talks nicely about some techniques to keep in mind.