Codeigniter
Global XSS Filtering In Codeigniter
What is XSS ?? Cross-site Scripting (XSS) is a client-side code injection attack. The attacker injects malicious scripts in our website by using a contact form or other any form. How to Prevent this This is another best feature of Codeigniter to prevent cross-site scripting enable $config[‘global_xss_filtering’] = TRUE; in the config.php file. It will …
Importance of environment setting in Codeigniter
Codeigniter contains an environment setting in index.php. which is used to disable the error showing in the frontend of the website or UI. By default the environment comes with development here, we can see the errors that occur during the development of our website. After successful completion of the website, we have to change the …
Importance of environment setting in Codeigniter Read More »
How to hide index.php from codeigniter website
to remove this firstly create .htaccess named file in your main app folder RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ index.php/$1 [L] add this code to your .htaccess file and save it change $config[‘index_page’] = ”; and $config[‘uri_protocol’] = ‘REQUEST_URI’; in your config.php file. save the file, run the app without index.php …