Is there a catchall function somewhere that works well for sanitizing user input for SQL injection and XSS attacks, while still allowing certain types of html tags?
转载于:https://stackoverflow.com/questions/129677/whats-the-best-method-for-sanitizing-user-input-with-php