Tag: yii


23

Aug 2017

Html purifier YII 1

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 : CHtmlPurifier


27

Jul 2016

Excel reader in YII2

PHPExcel extension is used to experting and importing Excel to PHP. In this example we are reading Excel data by using this extension and inserting the data in given tables accordingly. PHPExcel extension is used to experting and importing Excel to PHP. In this example we are reading Excel data by using this extension and inserting the data in given tables accordingly. Step 1: Installation...

Read More