codeigniter PHP Web Development

How to remove index.php from codeigniter URL?

To remove index.php from codeigniter URL, open application/config/config.php 1. Search for $config[‘index_page’] = ‘index.php’; and replace with $config[‘index_page’] = ”;   2. Search for $config[‘uri_protocol’] = ‘AUTO’; and replace with $config[‘uri_protocol’] = ‘REQUEST_URI’;   3. Add the below code to your .htaccess file on root of your web host directory: RewriteEngine on RewriteCond $1 !^(index\.php|resources|robots\.txt) RewriteCond […]

PHP Web Development

Common security features to Website/App Admin

Below is the list of some common security tasks to be implemented on each login panel/module development: SSL installation Encryption of data Access of Website admin panel on only difined IP’s SQL Injection Prevention Broken Authentication and Session Prevention of Cross Site Scripting (XSS) Insecure Direct Object Reference Avoid Security Misconfiguration Sensitive Data Exposure Missing Function […]