Preventing server-side scripting, XSS

Posted by Tim on Stack Overflow See other posts from Stack Overflow or by Tim
Published on 2010-06-03T11:23:09Z Indexed on 2010/06/03 11:24 UTC
Read the original article Hit count: 274

Filed under:
|
|

Hey all

Are there any pre-made scripts that I can use for PHP / MySQL to prevent server-side scripting and JS injections?

I know about the typical functions such as htmlentities, special characters, string replace etc. but is there a simple bit of code or a function that is a failsafe for everything?

Any ideas would be great. Many thanks :)

© Stack Overflow or respective owner

Related posts about php

Related posts about mysql