phpstuff Posted October 4, 2013 Share Posted October 4, 2013 The book mentions the consistency that may be associated with using the Filter extension, as opposed to using strip_tags(), etc. The book didn't discuss pros/cons of using either, beyond the consistency factor with the Filter extension. I like the consistency factor - this is a bonus for me to keep things simple and clean - beyond that are there any downsides? Is it slower, does it tax the server more, does using one over the other make it easier to code other sections of your application, etc?? Thanks! Link to comment Share on other sites More sharing options...
Larry Posted October 4, 2013 Share Posted October 4, 2013 I think Filter is slightly harder to code. It may or may not tax the server more. But it offers better security. I'd recommend using Filter any time you can. Link to comment Share on other sites More sharing options...
phpstuff Posted October 4, 2013 Author Share Posted October 4, 2013 Thank you - I will focus on doing just that! Thanks!! Link to comment Share on other sites More sharing options...
Recommended Posts