I've be开发者_如何学Pythonen testing RedBeanPHP.
I'm wondering about sanitizing user input. Do I need to manually sanitize data or will RedBeanPHP take care of that?
RedBeanPHP uses PDO bindings to protect against SQL injection so you don't need to escape manually. However input validation (checking whether the input is valid) should be done using your own models or validation routines.
精彩评论