Category

PHP

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

Excel reader in YII2

By | PHP, YII | No Comments

PHPExcel extension is used to experting and importing Excel data 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…

Read More

Google Maps – More Controls

By | PHP | No Comments

Google Maps – More Controls In addition to the default controls, Google Maps also has: Scale – displays a map scale element Rotate – displays a small circular icon which allows you to rotate maps Overview Map – displays a thumbnail overview map reflecting the current map viewport within a…

Read More