CHtmlPurifier in YII1

By | PHP, Programming, YII | No Comments

CHtmlPurifier is wrapper of HTML Purifier. CHtmlPurifier removes all malicious code (better known as XSS) with a thoroughly audited, secure yet permissive whitelist. It will also make sure the resulting code is standard-compliant. In your model Add the below content in your model page. For more details : HTML Purifier…

Read More