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-670e402ad8c41106357325/]   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-670e402ada805969222525/] In view, you have to call the session again where you want to get session [crayon-670e402ada80f502879626/] [...]

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-670e402adc1f2072977089/] [...]

Read More