|
Plug-in PHP: 100 Power Solutions By Robin Nixon (McGraw Hill 2010, ISBN 978-0071666596) Home | About | Buy It |
Chapter 9: Plug-in 64 - Sanitize String & MySQL Sanitize StringWhen accepting user input for redisplay, and particularly if it will be inserted into a database, it's important that you sanitize the input to remove any malicious attempts at hijacking your server, or otherwise injecting unwanted MySQL commands, HTML or JavaScript. |