csrf in CodeIgniter 4

Posted on: Tuesday June 11, 2024

CSRF/csrf in ci4 Enable CSRF: Go to app/Config/Filters.php  Search for public array $methods and replace with: [crayon-671ee08b28e62377211617/]   Use (Just paste under <from>) : <input [...]

Read More

Create set and get session in CI 4

Posted on: Thursday October 12, 2023

Create, set and get the session in CodeIgniter 4 [crayon-671ee08b2a35f357484854/] In view, you have to call the session again where you want to get session [crayon-671ee08b2a368560678828/] [...]

Read More

csrf in CodeIgniter 3

Posted on: Saturday August 26, 2023

1.Enable csrf application/config/config.php $config[‘csrf_protection’] = FALSE; to $config[‘csrf_protection’] = TRUE; and configuer other thing if you want. 2. [...]

Read More

Multi time store data in PHP session

Posted on: Wednesday March 22, 2023

Store multiple data in a session, you can store multiple times data in a PHP session without destroying previous session data. Please find PHP method below: [crayon-671ee08b2b69f639479509/] [...]

Read More