Categories
PHP

Codeigniter 3 and PHP 8.0 / 8.1 Compatibility

Codeigniter 3.1.12 (and above) now supports PHP 8.0 / 8.1.

Latest Codeigniter 3 version now is 3.1.13.

If you use Codeigniter older than 3.1.12, and you use PHP 8.0 / 8.1, then i suggest you to upgrade to the latest Codeigniter 3.

Categories
PHP Programming

How to Use Midtrans-PHP in CodeIgniter 3

Here is how to use Midtrans-PHP official library in Codeigniter 3 🙂

Categories
PHP Programming

Enabling CodeIgniter $_GET

Here is how to enable CodeIgniter support to $_GET and still able to use the normal “SEO-friendly” URL working together.
So you will get a URL like this

http://www.example.com/index.php/the_controller/the_function/?some=thing&more=yes

First approach is modify your “config.php” and change this line.

$config['enable_query_strings'] = true;

But this is not recommended because on pagination, you will get ugly URL.