Tag: ci3

MongoDB Codeigniter integration using official PHP drivers

Since Codeigniter does not officially support MongoDB at this time, MongoDB Codeigniter integration is not very easy currently. So, in this tutorial I will explain how we can install MongoDB with Codeigniter using official PHP drivers provided by MongoDB. Let’s get started : Prerequisites : A VPS(Virtual Private Server) with a web server (e.g. Apache, […]

Submit codeigniter form using jQuery AJAX

Codeigniter provides a form helper library which is excellent for handling forms and validations, but when it comes to handling forms using jQuery ajax, there is no native support. However, you can useĀ $this->input->is_ajax_request() to detect if the submitted request is AJAX. As part of this tutorial, below are the main points we will be covering: […]

Enable Cross-site request forgery (CSRF) Protection on codeigniter

What is CSRF Cross-site request forgery or CSRF is a type of security vulnerability which can potentially allow an unauthorized user to perform malicious activity on a website/ web application as an authorized user. It usually tricks the authorized users to perform malicious activity on a website which could be changing a password or transferring […]

Technology Central © 2014 - 2017 | Privacy Policy | Website Terms & Conditions