Monday 25 June 2018

PHP input sanitizer?

What are some good PHP html (input) sanitizers?



Preferably, if something is built in - I'd like to us that.



UPDATE:




Per the request, via comments, input should not allow HTML (and obviously prevent XSS & SQL Injection, etc).

No comments:

Post a Comment

php - file_get_contents shows unexpected output while reading a file

I want to output an inline jpg image as a base64 encoded string, however when I do this : $contents = file_get_contents($filename); print &q...