Codeigniter 3 session not working

On a web application, session not working. I verified PHP session is working with script https://gist.github.com/serverok/8c504205ae0357e0c6488eab880a77bf When refreshing the script, the number start increasing, that confirms PHP session works fine on the server. As for Codeigniter, we need to check the session settings in file application/config/config.php

That looks good. Session will be saved in […]

Read More…

Redirect a site to www using PHP

To redirect a site to url with www using PHP, you can use following PHP code

Add this code in your index.php file or another file included by index.php See Redirect […]

Read More…

PHP script to test IMAP

Here is a PHP Script to login to IMAP server.

See PHP […]

Read More…

Laravel

Laravel Database Migration Error Key too long How to find Laravel Framework Version Create project using latest laravel

Create project using specific version of laravel.

You can see available laravel versions on site https://packagist.org/packages/laravel/laravel […]

Read More…