View Single Post
Old 08-11-2022, 09:43 AM  
redwhiteandblue
Bollocks
 
redwhiteandblue's Avatar
 
Industry Role:
Join Date: Jun 2007
Location: Bollocks
Posts: 2,792
Quote:
Originally Posted by Klen View Post
I am using htmlspecialchars and so far it is working fine. But it does not hurt to put extra steps to harden security.
htmlspecialchars is meant more for output to an HTML document, and in any case htmlentities does a better job of that.
redwhiteandblue is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote