storing code snippets in a database

Posted by TheGNUGuy on Stack Overflow See other posts from Stack Overflow or by TheGNUGuy
Published on 2010-03-24T02:38:14Z Indexed on 2010/03/24 2:43 UTC
Read the original article Hit count: 496

Hey everyone,

I want to make a code snippet database web application. Would the best way to store it in the database be to html encode everything to prevent XSS when displaying the snippets on the web page?

Thanks for the help!

© Stack Overflow or respective owner

Related posts about mysql

Related posts about web-development