freelance84 Posted September 22, 2011 Share Posted September 22, 2011 Does anyone have an example of when htmlentities would be used over htmlspecialchars? Quote Link to comment Share on other sites More sharing options...
freelance84 Posted September 22, 2011 Author Share Posted September 22, 2011 http://htmlpurifier.org/ Quote Link to comment Share on other sites More sharing options...
AbraCadaver Posted September 22, 2011 Share Posted September 22, 2011 Does anyone have an example of when htmlentities would be used over htmlspecialchars? Read the man pages that you posted. htmlspecialchars() only does 5 characters, htmlentities() does all characters that have an HTML character entity equivalent. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.