How to get Ip Address in Codeigniter?

How to get Ip Address in Codeigniter?

If you are work on Codeigniter application and you require to get client ip address then you can get easy. you don’t need to use $_SERVER variable like native PHP, but Codeigniter provide $this->input. you can fetch easy using following

How to get current url with query string in codeigniter?

How to get current url with query string in codeigniter?

If you require to get current URL with parameters in your codeigniter project then you can get easily using “url” helper. Codeigniter provide url helper library that way we can get existing page url or base url etc. you can

Codeigniter 3 resize image and create thumbnail example

Codeigniter 3 resize image and create thumbnail example

In this post, i would like to share with you how to resize image and generate thumbnail image after upload in codeigniter 3 application. Here i will give you full example of image upload with resize in codeigniter 3 application.

How to Create Dynamic Sitemap in PHP Codeigniter?

How to Create Dynamic Sitemap in PHP Codeigniter?

A Sitemap is very important for Google, Yahoo, being SEO. every site basic requirement is sitemap because we can give XML sitemap to google web console tool. So here I would like to share with you how to create dynamic

How to get last executed query in PHP Codeigniter?

How to get last executed query in PHP Codeigniter?

Are you wanted to get last executed sql query in codeigniter 3 project then i will help to get last query in codeigniter. We can get last executed query using last_query() function of db class in codeigniter. It is a

How to change date format in PHP Codeigniter?

How to change date format in PHP Codeigniter?

I would like to show you how to convert date format in php codeigniter 3 framework. we will change date format yyyy-mm-dd (Y-m-d) to dd-mm-yyyy (d-m-Y) with example. we almost need to display date on any module or in detail

Codeigniter 3 Restful API Tutorial

Codeigniter 3 Restful API Tutorial

In this tutorial, i would like to share with you step by step tutorial of creating restful web services in codeigniter 3 project. we will create rest api which uses HTTP method likes GET, PUT, POST, DELETE. you can learn

Codeigniter - Upload Multiple File and Image Example

Codeigniter – Upload Multiple File and Image Example

In this tutorial, i will share with you how to upload multiple image in codeigniter 3 application. we can easily do multiple file upload example in codeigniter. i will give you simple example with step by step to upload multiple

How to get current month in Codeigniter?

How to get current month in Codeigniter?

In this example, we will learn how to get current month data in codeigniter. we can get current month data using codeigniter query builder. we will use MONTH() and YEAR() mysql function for getting current month data. I will share